Post by virtualshop34 » Mon Jul 18, 2016 9:44 pm

Hi all,

I am using Opencart 2.1.0.2 and I freshly uploaded online and I notice a bug :
the url history order is not working! I get an error saying that the page can't be shown

on the console I get that :

Code: Select all

NetworkError: 500 Internal Server Error - https://www.domaine.com/index.php?route=account/order"
Does anyone know what cause this issue and what I should do ?

Thanks in advance
Last edited by virtualshop34 on Tue Jul 19, 2016 11:57 pm, edited 1 time in total.

Opencart version 2.1.0.2


New member

Posts

Joined
Wed Jan 18, 2012 1:19 am

Post by straightlight » Mon Jul 18, 2016 11:05 pm

What does it indicate in your admin - > systems - > tools - > error logs page regarding this recent event?

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 virtualshop34 » Mon Jul 18, 2016 11:51 pm

straightlight wrote:What does it indicate in your admin - > systems - > tools - > error logs page regarding this recent event?
The problem is there is nothing written in the error logs !
So I don't get what the problem is

and I have as well the edit order problem which I can't manage to resolve even with all the forum tips

it seems that my site are full of errors !
In firefox when I am on the login page (frontend) I have this :

Code: Select all

detailed error: Error: Bootstrap's JavaScript requires jQuery
error source line:if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires j...
bootstrap.min.js (ligne 6, col. 37)
ReferenceError: $ is not defined
$(document).ready(function() {

common.js (ligne 25, col. 1)
detailed error: Champs mot de passe présents dans un formulaire possédant une action de formulaire non sécurisée (http://). Cela représente un risque de sécurité permettant le vol d’identifiants de connexion.
and when I am logged on the admin panel I have that in the console :

Code: Select all

Mixed Content: The page at 'https://www.domaine.com/admin/index.php?route=extension/modification&token=wJmzxpIsi4RlM2caoxgYcujq2SDPRJhy' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://www.domaine.com/admin/index.php?route=extension/modification/delete&token=wJmzxpIsi4RlM2caoxgYcujq2SDPRJhy'. This endpoint should be made available over a secure connection.
do you have an idea about what is the problem ? I am completly lost
Last edited by virtualshop34 on Fri Jan 27, 2017 6:15 pm, edited 2 times in total.

Opencart version 2.1.0.2


New member

Posts

Joined
Wed Jan 18, 2012 1:19 am

Post by straightlight » Mon Jul 18, 2016 11:56 pm

In your admin - > systems - > settings - > tools - > error logs page, ensure the error logs in the server tab is set to enabled. If you'd like, you can also enable the display errors option above it but I don't recommend it if you use a live server without maintenance set.

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 virtualshop34 » Tue Jul 19, 2016 12:21 am

straightlight wrote:In your admin - > systems - > settings - > tools - > error logs page, ensure the error logs in the server tab is set to enabled. If you'd like, you can also enable the display errors option above it but I don't recommend it if you use a live server without maintenance set.
well I don't know what happen but I can't log to my admin panel anymore!
when i want to go to www.domaine.com/admin/ I get a blank page!!! or more precisely

Code: Select all

The www.domaine.com page isn’t working

www.domaine.com is currently unable to handle this request.
but the rest of the site is working for the catalog part because I am not sure I can log to the client account
:crazy:

Opencart version 2.1.0.2


New member

Posts

Joined
Wed Jan 18, 2012 1:19 am

Post by straightlight » Tue Jul 19, 2016 12:51 am

From your cPanel error logs icon, what is the most recent error entries you have?

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 virtualshop34 » Tue Jul 19, 2016 5:01 pm

straightlight wrote:From your cPanel error logs icon, what is the most recent error entries you have?
I checked that the error logs in the tab server was enabled and it was but there is nothing written in the error.log file
The display error was as well enabled but nothing appeared on the site

I reinstall all my web site and data base and before I set the HTTPS I try to make an order and everything worked and I was able to edit the order in the admin panel.

But I still have a probleme with the history url : when a order is made a message after validation says :

Code: Select all

Your order has been successfully processed!You can view your order history by going to the my account (http://www.domaine.com/index.php?route=account/account) page and by clicking on history (http://www.domaine.com/index.php?route=account/order).If your purchase has an associated download, you can go to the account downloads (http://www.domaine.com/index.php?route=account/download) page to view them. Please direct any questions you have to the store owner (http://www.domaine.com/index.php?route=information/contact).Thanks for shopping with us online!
All the urls in this message worked fine expect this url :

Code: Select all

http://www.domaine.com/index.php?route=account/order 
where I get this message :

Code: Select all

The www.domaine.com page isn’t working

www.domaine.com is currently unable to handle this request.
And the url you get on the email after making the order is not working as well

Code: Select all

http://www.domaine.com/index.php?route=account/order/info&order_id=1
I check after that my error.log file but there nothing in there!

Can anyone help me ?
Thanks in advance

Opencart version 2.1.0.2


New member

Posts

Joined
Wed Jan 18, 2012 1:19 am

Post by straightlight » Tue Jul 19, 2016 7:33 pm

What about the cPanel error logs page, do you see any recent errors based on what you're reporting?

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 virtualshop34 » Tue Jul 19, 2016 7:52 pm

straightlight wrote:What about the cPanel error logs page, do you see any recent errors based on what you're reporting?
I am sorry but I don't understand what you are referring to. what is the cPanel erro logs page ? (sorry about that I am french)
Can you show me ou explain to me what the cPanel error logs page

Do you mean my error log from my host server ? I am using OVH and the log errors contain absolutely nothing!!! so maybe you are referring to something else....

Opencart version 2.1.0.2


New member

Posts

Joined
Wed Jan 18, 2012 1:19 am

Post by OSWorX » Tue Jul 19, 2016 9:05 pm

virtualshop34 wrote:
straightlight wrote:What about the cPanel error logs page, do you see any recent errors based on what you're reporting?
I am sorry but I don't understand what you are referring to. what is the cPanel erro logs page ? (sorry about that I am french)
Can you show me ou explain to me what the cPanel error logs page

Do you mean my error log from my host server ? I am using OVH and the log errors contain absolutely nothing!!! so maybe you are referring to something else....
It is general a problem if someone talks 'tech' and the other does not understand because he has not the knowledge.
That is the reason why there are specialists who know what to do.

And when someone is mentioning cPanel you can be quite sure, that he is from the states (or in this case from CA).
But this is nothing more than the server administration, like WHM, Plesk or Confixx.
Some of the providers are using self deployed tools.

Has nothing to do if you are French or Chinese.

And in all of this server admin tools you should have a setting to enable the server logs (or protocols).
The result is a log you can read what is going on on your server.
And what is the reason why some things are not working.

If you have this log not enabled, ask OVH to help you further.

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


User avatar
Administrator

Posts

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

Post by straightlight » Tue Jul 19, 2016 9:25 pm

And when someone is mentioning cPanel you can be quite sure, that he is from the states (or in this case from CA).
But this is nothing more than the server administration, like WHM, Plesk or Confixx.
Some of the providers are using self deployed tools.
That analogy is not only 100% but 110% false. I have done countless custom coding that are located outside American continent even in Europe continent which either use Plesk or cPanel as their hosting platforms globally across many different domains. I do not know where you are digging your information but one thing, for sure, what you just stated above is definitely not based on any facts but rather self-improvisation without accurate experience.
It is general a problem if someone talks 'tech' and the other does not understand because he has not the knowledge.
That is the reason why there are specialists who know what to do.
Using and understanding the cPanel / Plesk platform does not require a 'tech' to be self-aware that this panel exists. These tools are already mentioned in several hosting plans provided by countless web hosts even before the customer decides to rent / purchase those plans. The cPanel / Plesk hosting tools are tools being used under renewed licenses which is rather marketing strategy than technical. According to your last statement, a cPanel / Plesk are meant for technical people to use which is entirely false as the distribution of its use under licensing subjects are rather meant to be sold and reliable for people who needs to apply simplistic tasks rather than coding into host consoles which THESE requires technical skills most definitely as it needs specialized people to use those consoles.
Has nothing to do if you are French or Chinese.
Which brings my point; no it does not since, again, the cPanel and Plesk panels are not only used in American continent but also provided under licensing terms towards other continents.
And in all of this server admin tools you should have a setting to enable the server logs (or protocols).
Incorrect. Shared hosting services may have this functionality limited with their hosting plans as it has been discussed on the forum multiple times already.
The result is a log you can read what is going on on your server.
And what is the reason why some things are not working.

If you have this log not enabled, ask OVH to help you further.
Not to discriminate anyone here but the English structure you're using here, even I don't understand what you're trying to explain here and I am a technical person, indeed.

Please, next time, make sure to bring the facts before you post such enquiries regarding hosting platform licensing plans.

Enough said.

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 virtualshop34 » Tue Jul 19, 2016 9:36 pm

waouw ! I just wanted some help !
???

Opencart version 2.1.0.2


New member

Posts

Joined
Wed Jan 18, 2012 1:19 am

Post by straightlight » Tue Jul 19, 2016 9:37 pm

virtualshop34 wrote:
straightlight wrote:What about the cPanel error logs page, do you see any recent errors based on what you're reporting?
I am sorry but I don't understand what you are referring to. what is the cPanel erro logs page ? (sorry about that I am french)
Can you show me ou explain to me what the cPanel error logs page

Do you mean my error log from my host server ? I am using OVH and the log errors contain absolutely nothing!!! so maybe you are referring to something else....
@virtualshop34:

If you do not understand what a cPanel / Plesk is, that is totally fine. This information can be looked on Google:
cPanel is a Linux-based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site.
Plesk:
Plesk is a control panel available on our Windows-based hosting accounts and servers. It lets you easily manage many aspects of your account, including the files, applications, and (for servers) email hosted on your account or server.

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 straightlight » Tue Jul 19, 2016 9:40 pm

In either of your host console (or customized one by your hosting party), there are error logs provided for each domain activities. What I was referring to is to verify the most recent entries regarding the issue that you are reporting about.

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 OSWorX » Tue Jul 19, 2016 9:49 pm

straightlight wrote: Plesk:
Plesk is a control panel available on our Windows-based hosting accounts and servers. It lets you easily manage many aspects of your account, including the files, applications, and (for servers) email hosted on your account or server.
Wow, your are the master of the universe!
But - beside this - Plesk is used also for *nix-hosting.
Just and only for you.

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


User avatar
Administrator

Posts

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

Post by straightlight » Tue Jul 19, 2016 9:51 pm

OSWorX wrote:
straightlight wrote: Plesk:
Plesk is a control panel available on our Windows-based hosting accounts and servers. It lets you easily manage many aspects of your account, including the files, applications, and (for servers) email hosted on your account or server.
Wow, your are the master of the universe!
But - beside this - Plesk is used also for *nix-hosting.
Just and only for you.
And how important this peace of information is useful for the main poster to resolved the main problem on the topic exactly?

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 virtualshop34 » Tue Jul 19, 2016 10:09 pm

@straightlight :

Thanks for your explanation.
I do have the log on my host server enabled but the file is empty it is why I do not understand and on my web log I can see the 500 error from the http://www.domaine.com/index.php?route=account/order

I made some research on the web and it seems that might come from the french language but how can know which exact file I need to look at without error log ? if you have an idea...

anyway thanks

Opencart version 2.1.0.2


New member

Posts

Joined
Wed Jan 18, 2012 1:19 am

Post by straightlight » Tue Jul 19, 2016 10:14 pm

virtualshop34 wrote:@straightlight :

Thanks for your explanation.
I do have the log on my host server enabled but the file is empty it is why I do not understand and on my web log I can see the 500 error from the http://www.domaine.com/index.php?route=account/order

I made some research on the web and it seems that might come from the french language but how can know which exact file I need to look at without error log ? if you have an idea...

anyway thanks
The best way to see if this issue might specifically come from a language pack other than the default English language pack would be to switch back to the default English language from the OC admin and see if you can reproduce the event.

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 virtualshop34 » Tue Jul 19, 2016 10:29 pm

straightlight wrote:
The best way to see if this issue might specifically come from a language pack other than the default English language pack would be to switch back to the default English language from the OC admin and see if you can reproduce the event.
I did that and when I select french language the order history give a 500 error and when i select the english language everything works fine!

Does it mean that I have to check every php files in the french language to find where is the error or is there a way to do that a bit faster ?

Opencart version 2.1.0.2


New member

Posts

Joined
Wed Jan 18, 2012 1:19 am

Post by straightlight » Tue Jul 19, 2016 10:32 pm

virtualshop34 wrote:
straightlight wrote:
The best way to see if this issue might specifically come from a language pack other than the default English language pack would be to switch back to the default English language from the OC admin and see if you can reproduce the event.
I did that and when I select french language the order history give a 500 error and when i select the english language everything works fine!

Does it mean that I have to check every php files in the french language to find where is the error or is there a way to do that a bit faster ?
If the error line is not identified in any of your report hosting tools nor from Opencart, one methodology you could use would be to download a free tool like: Winmerge or Beyond Compare tool and compare the language folders (English and French) to see systematically where the differences between the twos might be pointed without having to search files by files. :)

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: No registered users and 3 guests