Post by ianhaney » Mon Nov 13, 2017 4:35 am

Hi

I am using opencart 2.3.0.2 on my wife's website and I just moved it from one host to another today and the front end is all ok but the backend has the following errors showing and unsure how to solve them, has anyone had this issue before and if so how to solve the errors

I can't login as I get these errors straight away

Notice: Undefined index: token in /home/wwwpartycrackerc/public_html/system/storage/modification/admin/controller/extension/module/html.php on line 34Notice: Undefined index: token in /home/wwwpartycrackerc/public_html/system/storage/modification/admin/controller/extension/module/html.php on line 67Notice: Undefined index: token in /home/wwwpartycrackerc/public_html/system/storage/modification/admin/controller/extension/module/html.php on line 72Notice: Undefined index: token in /home/wwwpartycrackerc/public_html/system/storage/modification/admin/controller/extension/module/html.php on line 78Notice: Undefined index: token in /home/wwwpartycrackerc/public_html/system/storage/modification/admin/controller/extension/module/html.php on line 88Notice: Undefined index: token in /home/wwwpartycrackerc/public_html/system/storage/modification/admin/controller/extension/module/html.php on line 93

Thank you in advance

Active Member

Posts

Joined
Sun Jun 24, 2012 2:30 am

Post by straightlight » Mon Nov 13, 2017 5:47 am

Download this file: https://github.com/opencart/opencart/bl ... e/html.php and replace it with your current one from your admin/controller/extension/module folder. Then, inside the file, all instances of:

Code: Select all

user_token
with:

Code: Select all

token
This should rectify the issue.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ianhaney » Mon Nov 13, 2017 5:52 am

Hi

Thank you for the reply and info/help

I did what you said but unfortunately still getting the same error

Active Member

Posts

Joined
Sun Jun 24, 2012 2:30 am

Post by straightlight » Mon Nov 13, 2017 5:57 am

The modification folder error is caused by an extension. You will need to remove the extension from FTP and database if you are unable to login to the Opencart admin.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ianhaney » Mon Nov 13, 2017 6:13 am

Oh right ok, I am unsure what extension it is though to remove it from the FTP or is it the HTML content extension that comes with opencart 2.3.0.2?

Active Member

Posts

Joined
Sun Jun 24, 2012 2:30 am

Post by straightlight » Mon Nov 13, 2017 6:21 am

A safe way to do this would be by installing a fresh copy of Opencart on a virtual server or separate folder with new database. Then, to reinstall all extensions until noticing which one is causing these error messages.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ianhaney » Mon Nov 13, 2017 6:21 am

The weird thing is I have the exact same web files uploaded on www.chunkyglitter.co.uk and that admin side works all ok without any issues

Active Member

Posts

Joined
Sun Jun 24, 2012 2:30 am

Post by straightlight » Mon Nov 13, 2017 6:24 am

But you still don't know which extension is causing this issue especially since the other site cannot reproduce this issue. Your only option is to test those extensions on a separate folder.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ianhaney » Mon Nov 13, 2017 6:44 am

OK think that is the only option I have

Active Member

Posts

Joined
Sun Jun 24, 2012 2:30 am

Post by webdev1 » Mon Nov 13, 2017 4:14 pm

Have you managed to get it working?

Newbie

Posts

Joined
Tue Aug 08, 2017 1:14 pm

Post by ianhaney » Thu Dec 28, 2017 10:35 pm

Sorry for just replying, the issue still remains webdev1

Active Member

Posts

Joined
Sun Jun 24, 2012 2:30 am

Post by straightlight » Thu Dec 28, 2017 11:25 pm

See with the master files if the issue can be replicated on a test folder of your server or on a virtual server regarding the Opencart admin HTML editor.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ianhaney » Thu Dec 28, 2017 11:27 pm

No probs will have a look in the next day or 2

Active Member

Posts

Joined
Sun Jun 24, 2012 2:30 am

Post by DeepakTaiwal » Tue Aug 21, 2018 2:15 pm

Hi

i am using OpenCart 3.0.2.0 latest version and i install payumoney. It install successfully but when i edit payumoney....it shows an error -

"Notice: Undefined index: token in admin/controller/extension/payment/pumcp.php on line 68"
"Notice: Undefined index: token in admin/controller/extension/payment/pumcp.php on line 74"
"Notice: Undefined index: token in admin/controller/extension/payment/pumcp.php on line 80"
"Notice: Undefined index: token in admin/controller/extension/payment/pumcp.php on line 84"
"Notice: Undefined index: token in admin/controller/extension/payment/pumcp.php on line 86"

plz guide me to solve this issue

Newbie

Posts

Joined
Mon Aug 20, 2018 4:37 pm
Who is online

Users browsing this forum: No registered users and 11 guests