Post by dimitrishalkida » Sun Jun 26, 2016 3:43 am

Hello,

I have a site based on opencart 2.2.0.0 and until before some days all working fine. Today i noticed that i can't change the images on my products or on my categories!? because when i press on the image to change it i redirecting to admin's login screen area!?... but when i try to change the Store's image, i can change it normally.

In past, i changed normally the images on many of my products and categories, but now i can't!?

So is this a bug? Can you help me to resolve please?

PS: I use a Journal Premium Theme for Opencart 2.

Thank you for your time.

New member

Posts

Joined
Tue Apr 07, 2015 4:18 am

Post by straightlight » Sun Jun 26, 2016 3:47 am

Sounds like the admin token might be missing from the URL whenever you click the product / category image. Have you installed any extensions recently?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by dimitrishalkida » Sun Jun 26, 2016 10:06 pm

No, only Opencart and Theme. :(

New member

Posts

Joined
Tue Apr 07, 2015 4:18 am

Post by straightlight » Sun Jun 26, 2016 10:10 pm

dimitrishalkida wrote:No, only Opencart and Theme. :(
I presume you mean the store-front end?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by dimitrishalkida » Sun Jun 26, 2016 10:16 pm

straightlight wrote:
dimitrishalkida wrote:No, only Opencart and Theme. :(
I presume you mean the store-front end?
I mean that i installed only the Opencart CMS and the Journal Premium Theme... nothing else yet. No extensions/plug-ins.

New member

Posts

Joined
Tue Apr 07, 2015 4:18 am

Post by straightlight » Sun Jun 26, 2016 10:19 pm

dimitrishalkida wrote:
straightlight wrote:
dimitrishalkida wrote:No, only Opencart and Theme. :(
I presume you mean the store-front end?
I mean that i installed only the Opencart CMS and the Journal Premium Theme... nothing else yet. No extensions/plug-ins.
This analogy is contradictory since the Journal Premium Theme is an extension/plug-in feature. If you're experiencing issues with the products and categories amongst this theme particularly, switch back to the default template and see if you can reproduce this issue. If not, contact the developer of the Journal Premium Theme to resolved this issue.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by dimitrishalkida » Sun Jun 26, 2016 10:29 pm

This analogy is contradictory since the Journal Premium Theme is an extension/plug-in feature. If you're experiencing issues with the products and categories amongst this theme particularly, switch back to the default template and see if you can reproduce this issue. If not, contact the developer of the Journal Premium Theme to resolved this issue.
I have already contacted with the Journal's Theme Support Team from yesterday and i am still waiting for an answer. But i am not sure if this bug? is from the theme because the same version of theme is installed on another Opencart sites (but in older versions 2.1.0.1) and working fine there.

Anyway, i still waiting... :( Thank you very much for your time.

New member

Posts

Joined
Tue Apr 07, 2015 4:18 am

Post by straightlight » Sun Jun 26, 2016 10:31 pm

dimitrishalkida wrote:
This analogy is contradictory since the Journal Premium Theme is an extension/plug-in feature. If you're experiencing issues with the products and categories amongst this theme particularly, switch back to the default template and see if you can reproduce this issue. If not, contact the developer of the Journal Premium Theme to resolved this issue.
I have already contacted with the Journal's Theme Support Team from yesterday and i am still waiting for an answer. But i am not sure if this bug? is from the theme because the same version of theme is installed on another Opencart sites (but in older versions 2.1.0.1) and working fine there.

Anyway, i still waiting... :( Thank you very much for your time.
That observation may not include the fact that Opencart v2.1.0.1 may differ from the back-end modifications compared to the latest version of Opencart by using the same extension or by using the same version of Opencart with the same extension on different servers. Both may definitely involved different results on that end. ;)

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by dimitrishalkida » Mon Jun 27, 2016 1:17 am

I am back with the answer of Journal's Theme Support Team.

----------------------------------------------
Hi,
Admin issues are not related to the theme, as Journal doesn't modify the back-end in any way.
You can search for more information on OpenCart forums at http://forum.opencart.com and consult with an OpenCart developer about this.
----------------------------------------------

So, what can i do now?

New member

Posts

Joined
Tue Apr 07, 2015 4:18 am

Post by straightlight » Mon Jun 27, 2016 1:21 am

In admin - > extensions - > modules , admin - > extensions - > modifications folders, do you see any installed / enabled extensions?

Also, in VQMod Manager, you can see if you have any installed XML files. If you don't currently have VQMod Manager installed, I would suggest to download it: http://forum.opencart.com/viewtopic.php ... er#p625724

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by dimitrishalkida » Mon Jun 27, 2016 1:38 am

straightlight wrote:In admin - > extensions - > modules , admin - > extensions - > modifications folders, do you see any installed / enabled extensions?

Also, in VQMod Manager, you can see if you have any installed XML files. If you don't currently have VQMod Manager installed, I would suggest to download it: http://forum.opencart.com/viewtopic.php ... er#p625724
In admin - > extensions - > modules, i see all only the defaults as enable (Journal 2, Banner, Carousel, Categories, Account & Suggested products). In admin - > extensions - > modifications, i don't see anything.

I do not have installed VQMod. If i install it, i resolve my problem?... i don't think. :(

New member

Posts

Joined
Tue Apr 07, 2015 4:18 am

Post by straightlight » Mon Jun 27, 2016 1:43 am

In admin - > extensions - > modules, i see all only the defaults as enable (Journal 2, Banner, Carousel, Categories, Account & Suggested products). In admin - > extensions - > modifications, i don't see anything.
Journal 2 is not part of the default modules, however. ;)
I do not have installed VQMod. If i install it, i resolve my problem?... i don't think.
If you are sure not to have any XML files installed, you do not need to install it if you don't need it. However, I would verify the root folder if there wouldn't be any folder name called: vqmod .

Afterwards, if you verify in your admin - > systems - > tools - > error log page, do you see any recent and relative error message from either the contained name of category.php or product.php file?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by dimitrishalkida » Mon Jun 27, 2016 1:51 am

If you are sure not to have any XML files installed, you do not need to install it if you don't need it. However, I would verify the root folder if there wouldn't be any folder name called: vqmod .

Afterwards, if you verify in your admin - > systems - > tools - > error log page, do you see any recent and relative error message from either the contained name of category.php or product.php file?
Oh my god! The log under tool i have it closed and no, i haven't vqmod folder in my root folder because i don't install it. :'(

New member

Posts

Joined
Tue Apr 07, 2015 4:18 am

Post by straightlight » Mon Jun 27, 2016 1:56 am

dimitrishalkida wrote:
If you are sure not to have any XML files installed, you do not need to install it if you don't need it. However, I would verify the root folder if there wouldn't be any folder name called: vqmod .

Afterwards, if you verify in your admin - > systems - > tools - > error log page, do you see any recent and relative error message from either the contained name of category.php or product.php file?
Oh my god! The log under tool i have it closed and no, i haven't vqmod folder in my root folder because i don't install it. :'(
I am not sure what you inquire by log under tool being closed but another location where you can manually view the logs are under your system/storage/logs/error.txt file or under your host console such as cPanel error logs.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by dimitrishalkida » Mon Jun 27, 2016 2:03 am

I am not sure what you inquire by log under tool being closed but another location where you can manually view the logs are under your system/storage/logs/error.txt file or under your host console such as cPanel error logs.
Are empty! :( No data in log files.

New member

Posts

Joined
Tue Apr 07, 2015 4:18 am

Post by straightlight » Mon Jun 27, 2016 2:07 am

In your admin - > systems - > settings - > edit store - > server tab - > error handing, is the Log Errors option enabled?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by dimitrishalkida » Mon Jun 27, 2016 2:10 am

straightlight wrote:In your admin - > systems - > settings - > edit store - > server tab - > error handing, is the Log Errors option enabled?
No, i have these 2 options disable.

New member

Posts

Joined
Tue Apr 07, 2015 4:18 am

Post by straightlight » Mon Jun 27, 2016 2:13 am

Enable the Log Errors option and save the changes. Then, try one more time to reproduce the same issue on your admin categories and admin products page. Then, once the changes submitted, go to your admin - > systems - > tools - > error log page and see if there are reported lines in the text area.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by dimitrishalkida » Mon Jun 27, 2016 2:43 am

straightlight wrote:Enable the Log Errors option and save the changes. Then, try one more time to reproduce the same issue on your admin categories and admin products page. Then, once the changes submitted, go to your admin - > systems - > tools - > error log page and see if there are reported lines in the text area.
I make anable these options and i try again but i see the same problem and nothing in log console. :-\

New member

Posts

Joined
Tue Apr 07, 2015 4:18 am

Post by straightlight » Mon Jun 27, 2016 2:48 am

Then, I guess it is time for some troubleshooting. Go back to your admin - > systems - > settings - > edit store - > server tab - > Error Handling - > Display Error Logs, save the changes. Then, in your admin/model/catalog/product.php file, since you are editing a product,

find the 2nd instance of:

Code: Select all

$this->cache->delete('product');
add above:

Code: Select all

exit;
Save the changes. Go back to your admin products page and try to edit another product and see if you notice any error messages once you submitted the changes.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Users browsing this forum: Bing [Bot] and 22 guests