NYDG
Advanced Member
261 Posts Pre-sales questions only (More Details...)
|
Posted - 02/01/2018 : 09:15:59
I am updating a site with the newest updater. However the category based navigation has stopped working. We now see this error.
Parse error: syntax error, unexpected '[' in /home/recordin/public_html/vsadmin/inc/incfunctions.php on line 54
Any insight on this matter would be so helpful!
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/01/2018 : 09:22:20
Hi That would suggest your site is running an old version of PHP - probably less than 5.5 - can you check if that's the case and if so update to 5.6 or above? We have some notes here on possible changes if using PHP 7 + https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107737 Andy Please feel free to review / rate our software
|
NYDG
Advanced Member
261 Posts Pre-sales questions only (More Details...)
|
Posted - 02/01/2018 : 09:23:46
Hmm.
Yes, I have updated the server to 5.6 PHP
Any other ideas?
|
NYDG
Advanced Member
261 Posts Pre-sales questions only (More Details...)
|
Posted - 02/01/2018 : 09:26:38
In other areas of the site that calls for products we see this error message:
No incfunctions.php file
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/01/2018 : 09:31:20
If you log into your admin, what PHP version is reported at the bottom of admin.php? It might be worth running the updater again too just in case not all files made it over successfully. Also check on those pages with an error that the the path to incfunctions.php is correct. Andy Please feel free to review / rate our software
|
NYDG
Advanced Member
261 Posts Pre-sales questions only (More Details...)
|
Posted - 02/01/2018 : 09:35:08
Working on installing Ecommerce Plus PHP 6.8.4
Site was at 6.0.2
The VSADMIN area is not working either. Comes with this error:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/recordin/public_html/vsadmin/db_conn_open.php on line 14
What is going on?
|
NYDG
Advanced Member
261 Posts Pre-sales questions only (More Details...)
|
Posted - 02/01/2018 : 09:40:49
The error code is also on the updatestore.php page.
Do I move forward and run another update with this error posted?
|
insight
ECT Moderator
USA
4479 Posts |
Posted - 02/01/2018 : 09:42:18
Your mysql database connection is outdated, you need to be using mysqli. It's an easy fix, the changes required are detailed here: https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107737 Peter ServeLink Professional ecommerce web hosting for ASP & PHP https://servelink.comTake a look at our image upload/resize tool for the ASP cart https://servelink.com/clients/cart?gid=7
|
NYDG
Advanced Member
261 Posts Pre-sales questions only (More Details...)
|
Posted - 02/01/2018 : 09:58:37
Ok. The included.php file was using the correct coding. However db_conn_open.php needed to be updated.
Whew! - The error on the vsadmin and updatestore.php page is gone. I ran the updater again.
I have uploaded the revised file twice to the sever, refreshed my browser along with emptying my cache twice.
I am still see the same issue on the website. Anywhere accessing the database on the site example categories.php you see the following line: No incfunctions.php file
Any ideas?
|
Andy
ECT Moderator
95440 Posts |
Posted - 02/01/2018 : 10:08:15
|
NYDG
Advanced Member
261 Posts Pre-sales questions only (More Details...)
|
Posted - 02/01/2018 : 11:12:36
I figured out the last issue!
Thank you for all of your help on this.
|
|
|