Support Forums

4.2.2 installation "fatal error"

This is a discussion on 4.2.2 installation "fatal error" within the Installation Problems forums, part of the Technical Support Forums category; I've tried several times to do a fresh install the v4.2.2 version to a 'test' folder in public_html. All the ...


Go Back   68 Classifieds Forums > Technical Support Forums > Installation Problems

Reply
 
Thread Tools Display Modes
Old 04-05-2011, 11:22 PM   #1
Customer
 
Join Date: Aug 2006
Posts: 134
Rep Power: 24
spaceboy is on a distinguished road
Default 4.2.2 installation "fatal error"

I've tried several times to do a fresh install the v4.2.2 version to a 'test' folder in public_html. All the installation steps are always completed smoothly, with a fresh, new database, ect. But every time I click on the 'go to admin' link after the last step, I get this message:


Fatal error: main() [function.require]: Failed opening required '/home/abletr6/public_html/test/administration/' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/abletr6/public_html/test/includes/classes/pear') in /home/abletr6/public_html/test/administration/includes/init.php on line 148


I installed previous 68c versions numerous times over the past few years with no problems & now have tried everything I can think of with this one... I've deleted it and re-uploaded at least 4 times. re-uploaded the init.php file, checked the connections file, I've tried uploading the files from a different computer, etc.

I'm just noticing that the files on the server that i've uploaded are different sizes by a matter of around 10kb to 100kb's than the ones in the upload folder, that can't be good!


Any thoughts?
__________________
Lindsay
developer v4.1.6
abletrader.com

Last edited by spaceboy; 04-05-2011 at 11:35 PM.
spaceboy is offline   Reply With Quote
Old 04-05-2011, 11:40 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

What version of PHP is on your server?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 04-05-2011, 11:51 PM   #3
Customer
 
Join Date: Aug 2006
Posts: 134
Rep Power: 24
spaceboy is on a distinguished road
Default

php v4.4.7
__________________
Lindsay
developer v4.1.6
abletrader.com
spaceboy is offline   Reply With Quote
Old 04-06-2011, 01:03 AM   #4
Customer
 
Join Date: Mar 2011
Posts: 53
Rep Power: 5
TheTechGuru is on a distinguished road
Default

This thread might help, it sounds like a php version error. You may need to upgrade, or possibly create a .htaccess file to force php5 if its available.


Admin Section blank
TheTechGuru is offline   Reply With Quote
Old 04-06-2011, 01:24 AM   #5
Customer
 
Join Date: Aug 2006
Posts: 134
Rep Power: 24
spaceboy is on a distinguished road
Default

thanks, I've sent a request for my host to switch my site to php 5.

Meanwhile, I started with a fresh, empty public_html file and uploaded a fresh installation of the v4.1.6 files which is the version I had previously. The fresh install went smoothly until once again when try to go to the administration login I get this:


Fatal error:
_load() [function.require]: Failed opening required '/home/abletr6/public_html/includes/classes/format/String.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/abletr6/public_html/includes/classes/pear') in /home/abletr6/public_html/includes/classes/kernel/Core.php on line 70
__________________
Lindsay
developer v4.1.6
abletrader.com
spaceboy is offline   Reply With Quote
Old 04-06-2011, 02:24 AM   #6
Customer
 
Join Date: Aug 2006
Posts: 134
Rep Power: 24
spaceboy is on a distinguished road
Default

I replaced the fresh & new 'includes' folder with my old backed-up one and now 4.1.6 works!

now i'll try the 4.2.2 upgrade again...
__________________
Lindsay
developer v4.1.6
abletrader.com
spaceboy is offline   Reply With Quote
Old 04-06-2011, 06:09 AM   #7
Customer
 
Join Date: Mar 2011
Posts: 53
Rep Power: 5
TheTechGuru is on a distinguished road
Default

Does your old includes file have a .htaccess or php.ini file inside of it?

If so, what are the contents?

I have seen this error a couple of times with other sites I have, it usually happens when a files location isnt correct, either the file is in the wrong place or the include/require location isnt calling for the right location. I have seen not having the correct version of php throw some pretty weird errors also.

Last thing you could check is file permissions of the expected files (chmod), it can throw the same kind of errors, 755 should do the trick if that is the problem. (Someone correct me if I am wrong about 755) Im pretty sure this isnt the problem, however you never know.

Would have to say it is some kind of file naming or file location error.

Thats all I can think of really, hope you get it sorted.
TheTechGuru is offline   Reply With Quote
Old 04-06-2011, 06:54 AM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,474
Rep Power: 88
seymourjames is a jewel in the rough
Default

Just to confirm you are actually running php5

Create a file called test.php with simple contents

<?php
phpinfo();
?>

Then go to your site and run
HTML Code:
http://yourdomain.com/test.php
What does it say?

With version 4.2.2 you have to have PHP version 5 . There was another thread about this just recently.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is offline   Reply With Quote
Old 04-06-2011, 10:35 AM   #9
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,198
Rep Power: 70
John Snyder is a jewel in the rough
Exclamation

This is more than likely caused by an oversight on my part where I included a PHP5 function parameter. I will get that removed from the next release, in the mean time if you are running PHP4 or PHP5 < 5.2.3 you will need to edit:

includes/classes/kernel/Filter.php file, line 138:

replace :

PHP Code:
return htmlspecialchars($stringENT_QUOTES'UTF-8'TRUE); 
with :

PHP Code:
$string html_entity_decode($stringENT_QUOTES'UTF-8');
return 
htmlspecialchars($stringENT_QUOTES'UTF-8'); 
I should have 4.2.3 out with this fix and a couple of other bug fixes by the end of the day.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Old 04-09-2011, 02:47 AM   #10
Customer
 
Join Date: Aug 2006
Posts: 134
Rep Power: 24
spaceboy is on a distinguished road
Default

The upgrade to php 5.2 on the host server solved all the issues. Thanks for everyone's help.
__________________
Lindsay
developer v4.1.6
abletrader.com
spaceboy is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation - no "/setup/" ? AroundTheWorld Technical Support 7 12-12-2008 02:18 PM
Adding a "Product Directory" & "Find a Dealer" system spaceboy Technical Support 1 09-18-2008 07:16 PM
How to change title name "Place" to "post" on main page? YourPalAl Technical Support 4 04-28-2008 11:39 PM


All times are GMT -4. The time now is 04:51 PM.


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