Post by mantis » Tue May 28, 2019 7:03 pm

Hi,

I was wondering if anyone can help please. I installed the latest version of opencart 3.0.3.2 and proceed to install journal v3 theme and bought a bunch of extensions which for the most part work fine. The front end is working and everything seems ok.

However when I try and edit or add a new order in admin, nothing happens. I am unable to add or edit order in admin. I tried turning off all mods, searched around the net and trying some other things regarding SSL etc... but to no avail the problem still persists.

I then decided to install a fresh install and try with no extensions, and the issue still remains. I am unable to add a new order from admin side. There are no errors in error logs so I do not know how I can diagnose this issue.

Please can you help?

Newbie

Posts

Joined
Tue May 28, 2019 6:58 pm

Post by paulfeakins » Tue May 28, 2019 7:58 pm

Did you add your FTP details to the OpenCart admin?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by mantis » Tue May 28, 2019 8:11 pm

Hi Paul,

No I didn't realise in 3x you need to add FTP details. I never had to do that in 1.5X

Many thanks

Newbie

Posts

Joined
Tue May 28, 2019 6:58 pm

Post by mantis » Tue May 28, 2019 8:13 pm

By the way where do you add these, I cannot seem to find them in settings

Newbie

Posts

Joined
Tue May 28, 2019 6:58 pm

Post by OSWorX » Tue May 28, 2019 8:14 pm

paulfeakins wrote:
Tue May 28, 2019 7:58 pm
Did you add your FTP details to the OpenCart admin?
OC 3.x has no FTP settings anymore ..

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by kestas » Tue May 28, 2019 8:44 pm

the old post regarding FTP: viewtopic.php?f=199&t=200189&hilit=ftp#p705822
so it not exist. But for order edit in admin FTP never been necessary...

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by OSWorX » Tue May 28, 2019 9:02 pm

@mantis:

1. have you enabled the error logging (OpenCart) - but DISABLE the display of errors
2. if not (1.) - not really required, have you ever checked the server log file? There yo uwill find the reason why it does not work.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by paulfeakins » Tue May 28, 2019 9:05 pm

OSWorX wrote:
Tue May 28, 2019 8:14 pm
OC 3.x has no FTP settings anymore ..
Ah right, but do you need to allow your admin user to have API access?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by OSWorX » Tue May 28, 2019 9:23 pm

paulfeakins wrote:
Tue May 28, 2019 9:05 pm
OSWorX wrote:
Tue May 28, 2019 8:14 pm
OC 3.x has no FTP settings anymore ..
Ah right, but do you need to allow your admin user to have API access?
Yes, creating and editing orders require access through the internal API.
If that is not set correct, it will not work.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by kestas » Tue May 28, 2019 9:37 pm

OSWorX wrote:
Tue May 28, 2019 9:23 pm
paulfeakins wrote:
Tue May 28, 2019 9:05 pm
OSWorX wrote:
Tue May 28, 2019 8:14 pm
OC 3.x has no FTP settings anymore ..
Ah right, but do you need to allow your admin user to have API access?
Yes, creating and editing orders require access through the internal API.
If that is not set correct, it will not work.
Yes you are right. But if API is not set you receive this message
Warning: You do not have permission to access the API!

But author tells that:
mantis wrote:
Tue May 28, 2019 7:03 pm
However when I try and edit or add a new order in admin, nothing happens.
So somewhere another problem exist...

Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here


Active Member

Posts

Joined
Tue Oct 12, 2010 2:23 am

Post by mantis » Wed May 29, 2019 12:15 am

Hi thanks everyone for getting back to me, yes I tried various things on the forums regarding SSL, API and even mod security and all to no avail.
Finally I have got it solved and is working now.

Hopefully this will help someone in the future.

Edit the system/framework.php

Add this below line 75

$response->addHeader('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
$response->addHeader('Pragma: no-cache');

After adding this, it seems all fixed.

Newbie

Posts

Joined
Tue May 28, 2019 6:58 pm

Post by OSWorX » Wed May 29, 2019 2:46 am

Guess you are using MSIE ?

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by mantis » Wed May 29, 2019 3:54 am

No I was not using MSIE, Lol!, I was using Chrome, also tested in Firefox and Opera. This is a strange issue and I hope others will be able to benefit from the solution.

Newbie

Posts

Joined
Tue May 28, 2019 6:58 pm

Post by tibor.brks@gmail.com » Wed Apr 29, 2020 9:44 pm

Hi Everyone,
I am experiencing a very similar problem with Opencart 3.0.3.2, even after adding the 2 lines to framework.php
I cannot Add or Edit an order as an Administrator. I can view Orders under Sales. I can click Edit from the
drop-down arrow, but when the order loads for Edit, I am stuck on the first 'Customer Details' page.
I cannot move to the next 'Product' page/tab. Nothing happens when I click the 'Next' button.
No error messages, nothing in the logs, I looked at the browser console > nothing is there.
Can you suggest any direction?
Thanks
Tibor


Posts

Joined
Sat Apr 11, 2020 1:00 pm

Post by maplewang » Sat May 09, 2020 2:01 pm

A fresh install OC3.0.3.3, admin can not modify order, sucks at step 4 shipping detail, can not move to step 5.
It is behind a cloudflare cdn, if with SSL enabled same problem.
no api permission complain .

Newbie

Posts

Joined
Sat May 20, 2017 3:26 am

Post by pttrwt » Thu Oct 21, 2021 1:05 am

mantis wrote:
Wed May 29, 2019 12:15 am
Hi thanks everyone for getting back to me, yes I tried various things on the forums regarding SSL, API and even mod security and all to no avail.
Finally I have got it solved and is working now.

Hopefully this will help someone in the future.

Edit the system/framework.php

Add this below line 75

$response->addHeader('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
$response->addHeader('Pragma: no-cache');

After adding this, it seems all fixed.
IT's WORK !!!!! from 3.0.3.8
Thank you !

Newbie

Posts

Joined
Fri Sep 15, 2017 2:17 pm
Who is online

Users browsing this forum: No registered users and 29 guests