Post by dTilen » Wed Jan 19, 2011 5:58 pm

Hey everyone,

I'm experiencing an issue with OpenCart after moving all the files to another hosting provider/another server.

The error I get on the main site (not admin part, which works fine) is the following:

Code: Select all

Notice: Undefined index: token in /home/tilendsi/public_html/web/mcenter/admin/controller/error/not_found.php on line 15Notice: Undefined index: token in /home/tilendsi/public_html/web/mcenter/admin/controller/error/not_found.php on line 21
Fatal error: Call to a member function isLogged() on a non-object in /home/tilendsi/public_html/web/mcenter/admin/controller/common/header.php on line 73
What I did, was copy all the files from hosting A to hosting B, and change the config.php information accordingly.
Any help or tip would be greatly appreciated, as today my hosting A expires and currently working site (the one I copied) will go offline.

Thanks in advance to anyone who could help...

Newbie

Posts

Joined
Wed Jan 19, 2011 5:48 pm

Post by i2Paq » Wed Jan 19, 2011 7:40 pm

Always mention version of your OpenCart!
Always include a link if you are having a store front issue!


Are you sure all files are uploaded correctly and did you empty the cache directory's?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by dTilen » Thu Jan 20, 2011 1:15 am

Oops sorry! Version is 1.4.9.1 and the link to the store front: http://tilend.si/web/mcenter/

I somehow got rid of "undefined index: token" notice, but fatal error is still there.

Yes, I deleted the cache after upload and all the files were transfered correctly...

Newbie

Posts

Joined
Wed Jan 19, 2011 5:48 pm

Post by i2Paq » Thu Jan 20, 2011 2:46 am

Try reuploading the Admin files.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by dTilen » Thu Jan 20, 2011 3:40 am

I reuploaded all admin files from the old hosting and updated only config.php.. error is still there :/

Newbie

Posts

Joined
Wed Jan 19, 2011 5:48 pm

Post by dTilen » Thu Jan 20, 2011 5:07 pm

Could the problem be in a database - something "broke" when I imported the tables? Some user-related data maybe?

*EDIT: Problem solved, I figured out that I mistyped one dir path in config.php file! :)

Thanks for you time i2Paq.

Newbie

Posts

Joined
Wed Jan 19, 2011 5:48 pm
Who is online

Users browsing this forum: No registered users and 12 guests