Support Forums

Old 04-14-2009, 03:50 PM   #1
Junior Member
 
Join Date: Feb 2008
Posts: 9
Rep Power: 0
infometa is on a distinguished road
Unhappy Server upgraded and now problem with init.php!

I've upgraded my server to PHP5 Apache 5 and now I become this error if I access to my administrator area:

Quote:
Warning: main(includes/params.php) [function.main]: failed to open stream: No such file or directory in /home/cercati/public_html/annunci/administration/includes/init.php on line 9

Fatal error: main() [function.require]: Failed opening required 'includes/params.php' (include_path='/usr/lib/php:/usr/local/lib/php') in /home/cercati/public_html/annunci/administration/includes/init.php on line 9
I whant to edit the file init.php so that I can modify the string to strict and not relative path, but this file is coded by ionCube.
Please help me... how to upgrade this file without to renew the licence for this little reason?

Thank you.
infometa is offline   Reply With Quote
Old 04-14-2009, 04:07 PM   #2
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,318
Rep Power: 39
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

What version of the software are you using? That would certainly help in a situation like this.
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 04-14-2009, 04:13 PM   #3
Junior Member
 
Join Date: Feb 2008
Posts: 9
Rep Power: 0
infometa is on a distinguished road
Default

version 4.0.1
infometa is offline   Reply With Quote
Old 04-14-2009, 06:59 PM   #4
Moderator
 
 
Join Date: Mar 2006
Posts: 4,092
Rep Power: 99
Lhotch is just really niceLhotch is just really nice
Default

That version has known bugs, its recommended you upgrade to fix your problem.
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 04-14-2009, 07:07 PM   #5
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,318
Rep Power: 39
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

I can't really say that I know what the problem is, however if your site was working fine before and you upgraded your server software and now there is a problem that would most likely an issue with what was updated on the server and not the 68 Classifieds software.

I can't say what is on line 9 of the encrypted init.php file. Since this is happening only when logging into the admin, then this would be the administration/includes/init.php which is encrypted for all versions.

Just trying to run down the things that you have listed in your post: Upgraded to PHP5 shouldn't be any issue as I know that it runs 68 just fine (I'm running a 3.1.10 on a php5 server). There is no such thing as Apache 5, I assume you mean the latest version which would be 2.2.11 which again shouldn't be an issue.

Did you check to see if you indeed actually have your params.php in your administration/includes directory? I would check and even if it is there, make sure it's not corrupted. Try replacing it.

If you are indeed running 68 Classifieds version 4.0.1 as you posted, you really should pay the fee to renew your support/update license as that version has both bugs and security issues if my memory serves me correctly. The latest version of 4.0.x version is 4.0.9!
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 04-15-2009, 03:26 AM   #6
Junior Member
 
Join Date: Feb 2008
Posts: 9
Rep Power: 0
infometa is on a distinguished road
Default

Nothing of all what you describe... I've upgraded on version 4.1.2 and I have the same error.
Apache 2.2.1. and PHP 5 are perfectly configured and working with no problems... all other applications that I've installed on this server works fine.

PLEASE NOTE: THE PROBLEM WILL APPEAR ONLY AFTER I'VE LOGGED IN TO THE ADMINISTRATION AREA!

I think that here is a bug on the ./administration directory configuration file that are ionCube encoded and that I cannot edit to correct the problem. Output of PHP says that he cannot open the required file 'includes/params.php'. The file is present under /home/cercati/public_html/annunci/administration/includes/params.php and not only under /includes/params.php

The init.php file can be that call only a relative path "/includes/params.php" under the server root and not under the http root.
I think that the file ./administration/includes/init.php calls a relative path and not the required full path of my server.

I've read a lot of tutorials and support forums about this problem and all says that here are two reasons:
1) The required file is missing (no: the file is correctly placed)
2) The called path of the file on a configuration php file is incorrectly defined (yes: I think that is so, but I cannot edit the init.php file while this is encoded with ionCube!!!)

It's here a programmer that can edit this init.php file and insert the full path of this called required file?

MY SERVER IS: Linux CentOS 5.3 - Apache 2.2.1 - MySQL 5.0.67 - PHP 5.2.9

Thank you.

Last edited by infometa; 04-15-2009 at 05:31 AM.
infometa is offline   Reply With Quote
Old 04-15-2009, 06:28 AM   #7
Junior Member
 
Join Date: Feb 2008
Posts: 9
Rep Power: 0
infometa is on a distinguished road
Default

FOR YOUR INFORMATION:

I've try out to make a fully new installation and this is the result by step6 by ending the installation procedure:

Quote:
Database Information

Warning: include(includes/regional/default.php) [function.include]: failed to open stream: No such file or directory in /home/cercati/public_html/annunci2/setup/includes/step6.php on line 940

Warning: include(includes/regional/default.php) [function.include]: failed to open stream: No such file or directory in /home/cercati/public_html/annunci2/setup/includes/step6.php on line 940

Warning: include() [function.include]: Failed opening 'includes/regional/default.php' for inclusion (include_path='/usr/lib/php:/usr/local/lib/php') in /home/cercati/public_html/annunci2/setup/includes/step6.php on line 940

Everything installed succesfully !
Please delete the setup directory!

Click here to visit your admin panel to modify the site settings.
IT APPEARS THAT IN THIS CASE ARE SOME SIMILAR WARNINGS AS MY MAIN PROBLEM WITH THE ADMINISTRATOR AREA

- I've cheched that the files mentioned on the warnings are present and not corrupted;
- I've cheched that the permission on these files are correctly set.

THEN, WHEN I TRY TO ACCESS THE NEW ADMINISTRATION AREA, THIS IS THE RESULT:

Quote:
Notice: Query failed: Table 'cercati_annunci2.class_currency_settings' doesn't exist SQL: SELECT cCurrencySymbol, cCurrencyDecimal, cCurrencyDecimalPlaces, cCurrencyThousands, cCurrencyAfter, cDateFormat, cAdminDateFormat, cLanguage, cAdminLanguage FROM class_currency_settings WHERE cID=1 in /home/cercati/public_html/annunci2/includes/classes/database/mysql.php on line 143

Fatal error: require_once() [function.require]: Failed opening required '/home/cercati/public_html/annunci2/administration/' (include_path='/usr/lib/php:/usr/local/lib/php') in /home/cercati/public_html/annunci2/administration/login.php on line 92
I think seriously that your script are not compatible with my server LAMP versions.

Do you have any other idea?
THE SERVER LAMP versions cannot been modified. I think that these are enought updated (new) and experienced (stable). I have a lot of other applications installed on it and only 68Classifieds give me problems!
infometa is offline   Reply With Quote
Old 04-15-2009, 07:34 AM   #8
Moderator
 
 
Join Date: Mar 2006
Posts: 4,092
Rep Power: 99
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by infometa View Post
IT APPEARS THAT IN THIS CASE ARE SOME SIMILAR WARNINGS AS MY MAIN PROBLEM WITH THE ADMINISTRATOR AREA
Do you mean the problem you brought up over a a year ago? Assuming you just purchased 68C at that time and had support, why didnt you submit a support ticket and get it fixed then?
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 04-15-2009, 08:31 AM   #9
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,318
Rep Power: 39
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

You say that you have now installed the latest version of 68 Classifieds V4.1.2. How did you do that as you stated that you didn't want to pay the small amount of money for the support/update license? So if you have updated to the latest version, then I would recommend that you submit an official support ticket for this issue. You can do easily from here.
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 04-15-2009, 08:45 AM   #10
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,757
Rep Power: 110
Eric Barnes is a jewel in the rough
Default

Can you submit a ticket with your ftp details, administration login, and a link to your site and we will see if we can get this sorted out for you.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MODIFICATION: Upgraded thanks.tpl page cwp v4 Modules / Modifications 21 02-14-2009 08:34 AM
Data Import Problem on a Windows Server sporthorsebreeder Off Topic 4 10-09-2006 08:49 AM
init.php cannot be decoded akm v3.1 Questions & Support 11 07-18-2006 10:57 AM
init.php is corrupted GSP v3.1 Questions & Support 18 05-03-2006 03:32 AM
init.php quickbiz v3.0 Questions & Support 3 04-03-2006 05:51 PM


All times are GMT -4. The time now is 06:53 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0