Jump to content
Sign in to follow this  
netteria

Old backend on php 7

Recommended Posts

Hi

I have an old OSC version from 2003. There are software tools especially for the store so I can't really change it but I would like it to work on php 7. How do I do it? What to change?
I was able to boot but now I have an error
1327 - Undeclared variable: MAX_DISPLAY_SEARCH_RESULTS
What this is about? How to change it? It works on php 5, but when I switch to php 7 it doesn't :(
Maybe someone had to deal with this?

Share this post


Link to post
Share on other sites

This is a constant variable that's defined in the configuration table of your database.

I recommend using the caching add-on that writes all database variables to a single file. That should solve most of the undefined/undeclared variable errors, though you will still have some when migrating to PHP7.x.

The real value of that add-on, is that it significantly reduces the queries to your database.

 

 

Edited by Demitry

osCommerce: made for programmers, ...because store owners do not want to be programmers.

https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce

Share this post


Link to post
Share on other sites

Thank you. So is it possible for me to run it on php 7? I will try as you advise. Thank you very much for your help once again.
And what else to watch out for when switching from php 5 to php 7 with such an old version of the administration panel?

Share this post


Link to post
Share on other sites

It's a lot of work, especially if you are not technical. And in the end, your site will still look dated and lack mobile responsiveness.

 

 


osCommerce: made for programmers, ...because store owners do not want to be programmers.

https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce

Share this post


Link to post
Share on other sites

The view of the store is made for mobile devices. The administration panel only remained old due to the specially programmed tools for it.

Share this post


Link to post
Share on other sites

You can use the back end of W3 osCommerce to connect to your front end, then adjust the configure file to connect to your database. Vanilla osCommerce may be a problem to use the backend standalone - i am not sure. Then add your tools to the W3 Admin. This will be the path of least work.

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
Sign in to follow this  

×