Jump to content

Recommended Posts

Hi gang,

So last night, in an effort to solve other bugs, my host managers made some changes to my host's SSL cipher suites and forced TLS 1.2

This seems to have broken part of my admin interface as well as the PayPal App. The admin panel front page no longer shows the dashboards and looks like this instead:

1658186356_ScreenShot2020-03-17at9_34_38AM.thumb.png.07244f04ff265cdf0147adefec5629ed.png

Most other parts of the admin interface seem okay, but not the Modules > Dashboards which looks just like the Admin front page above.

What could be causing this?? I haven't made any changes to the files, but it's not impossible that my host support has. Could this be caused by changes to database entries? Could this be caused by changes in the cipher suite or TLS setup??

Thanks for any insights, I'm lost. How can I even troubleshoot this?

Share this post


Link to post
Share on other sites

It looks like the Javascript is broken.  In admin/includes/configure.php make sure that ENABLE_SSL is set to true and that both the HTTP_SERVER and HTTPS_SERVER are https:// URLs for admin and catalog.  Also check that admin/includes/modules has stuff in it. 

In general check the error logs to see if you're getting any informative errors. 

In your browser, try looking at the Javascript console to see if it has informative errors. 


Always back up before making changes.

Share this post


Link to post
Share on other sites

Have seen this before and still seeing it on Phoenix 1.0.5.4

For my image.png.3337da6eaa56393768026107412ce9fc.png

If someone installs onto a server which already has an SSL cert installed, but by error uses http://mystore during instalation then the instalation fails!

Shop side will look fine... but admin will give strange behavior. Some times you get oversized login modal, others get admin but have broken page as shown.

To fix you have to edit the config files and set SSL true and make http:// to htps://

Which is fine for developers and people happy to edit code.... but for the average jo not so sure.

image.png.6cba2396f9af64a925f71cd9d25d2699.png


 

Share this post


Link to post
Share on other sites

I had that very same erro that @JcMagpie mentions and it was a case of changing the admin configure file as he mentions.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

Editing the config files will work in as much as that you get access to your admin... but in some cases your left with a broken admin that will not function properly.

I have done about 6 test installs and in about 2 or 3 of these the admin was left un-usable even after editing the config files and required a deleat and reinstall with new data base. Why? no idea it just looks as when  SSL is active and you use http:// during install, some of the time the install is not compleated properly.


 

Share this post


Link to post
Share on other sites
On 3/17/2020 at 9:52 AM, ecartz said:

It looks like the Javascript is broken.  In admin/includes/configure.php make sure that ENABLE_SSL is set to true and that both the HTTP_SERVER and HTTPS_SERVER are https:// URLs for admin and catalog.  Also check that admin/includes/modules has stuff in it. 

In general check the error logs to see if you're getting any informative errors. 

In your browser, try looking at the Javascript console to see if it has informative errors. 

Thanks all!

 @ecartz, I verified and both my configure.php files are properly set with ENABLE_SSL and HTTPS on both HTTP_SERVER and HTTPS_SERVER. I also verified and there is indeed stuff on admin/includes/modules. 4 subfolders full of the various module files.

Then I checked the php error log, and found it full of :

[18-Mar-2020 11:08:13 America/Vancouver] PHP Warning:  error_log(): Filename cannot be empty in /root/rollergirl.ca/html/skateshop/includes/functions/database.php on line 47

That line 47 tries to add the db queries to the error log. Two days ago I cleared the path to the error log and turned the logging of parse time off in Logging, but I had left Store Database Queries to True. Apparently that was causing the problem, I set it to False and now my admin site works again!

I'm describing all of this so maybe it can help someone in a similar situation.

The PayPal App is still broken, but that seems to be a different issue.

Cheers!

Share this post


Link to post
Share on other sites
Posted (edited)
On 3/18/2020 at 10:29 AM, JcMagpie said:

Editing the config files will work in as much as that you get access to your admin... but in some cases your left with a broken admin that will not function properly.

I have done about 6 test installs and in about 2 or 3 of these the admin was left un-usable even after editing the config files and required a deleat and reinstall with new data base. Why? no idea it just looks as when  SSL is active and you use http:// during install, some of the time the install is not compleated properly.

During my installation SSL was not active yet. I ended up with a webshop running the default content, without having access to my admin pages. No error appeared anywhere. Just returning to the admin login page, regardless of de given input there.

I remove my insallation completely (directory deleted and recreated). I ran installation again. I noticed just in time that the default "http://" was given at step 2. I changed that to "https://" and installation completed correctly including admin pages working as expected.

Edited by wphorlogebanden

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×