Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error (Catalog) after install


jenbrink

Recommended Posts

After install. I set permission where needed. I can log into the Admin area and everything works fine there.

 

Unix server: Php 4.4.4

 

When you go to the catalog this error shows:

 

Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition navigationhistory of the object you are trying to operate on was loaded _before_ the session was started in /home/chrism/public_html/osstore/includes/application_top.php on line 309

 

is this a problem with the hosting service PHP program?

 

I get an error when I installed ZenCart as well, Admin OK but catalog fatal error.

 

This is the error from Zencart just in case if it the server:

Fatal error: Call to a member function on a non-object in /home/chrism/public_html/storefront/includes/autoload_func.php on line 90

Thanks for any help !!!

Link to comment
Share on other sites

what build are you using and what is the server environment you are using? which unix server, shared hosting etc...

 

thanks!

 

Well let's see: (let me know if you need more than this)

 

I just opened this account.

Same hosting company as I use for other sites, but all other are shared.

OS works great and so does zencart on the shared IP addresses.

 

Error site information:

 

Dedicated IP Address

 

Operating system Linux

Kernel version 2.6.9-42.0.3.ELsmp

Machine Type i686

Apache version 1.3.37 (Unix)

PERL version 5.8.7

PHP version 4.4.4

MySQL version 4.1.21-standard

cPanel Build 10.9.0-STABLE 58

 

OS store (2.2 MS2 (060817))

http://www.spittinimagesonline.com/osstore/

 

other stuff:

Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b

 

 

register_globals

Local: On

Master: On

 

 

Thanks for any help, I'm really lost with this.

Link to comment
Share on other sites

Ok - what is interesting is that when I first put that site in my cache it worked perfectly. After that I got the error.

 

So, there has to be a problem with your configuration. It's the way session are being called and stored. I cleared my cookies/cache and your site came up again. Upon further searching I found this:

 

 

I get something like "The script tried to execute a method or access a property of an incomplete object". What should i do?

 

 

Make sure that session_auto_start is disabled in php.ini!

 

Try that first - I am affraid that's the best I can find for you

 

I searched for this as well,

 

The script tried to execute a method or access a property of an incomplete object

 

to find relevant searches

 

hopefully that helps let me know if you need anymore help

Nothing unreal exists

Link to comment
Share on other sites

Thank you kirikintha for taking the time to search this problem.

 

I'm guessing that it is the hosting company, I have a support ticket in with them, but as usual no reply yet.

 

Thanks again for your information. Hopefully they can fix the problem.

Link to comment
Share on other sites

Thank you kirikintha for taking the time to search this problem.

 

I'm guessing that it is the hosting company, I have a support ticket in with them, but as usual no reply yet.

 

Thanks again for your information. Hopefully they can fix the problem.

 

 

Awesome - they can change you php.ini for you!

Nothing unreal exists

Link to comment
Share on other sites

Awesome - they can change you php.ini for you!

 

 

Just for the records, for anyone else that has this problem and dont have a clue (like me!)

Here is the response and fix from the hosting company:

 

"I have enabled custom php.ini settings for this account. Each of these folders now contains a php.ini file with he correct settings for these scripts. Be sure to copy these php.ini files whenever you copy the site to a different location on this server."

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...