You are here:  » How to find version number


How to find version number

Submitted by kend on Mon, 2020-11-16 14:24 in

Hi David,

I hope you are well. There have been many changes since we last spoke!

I just moved my installation and get a 500 error when trying to access the /admin page. I think it may be due to the PHP 7 install and using an old PriceTapestry version. I searched the database tables and files but didn't see a version number. Where is the version number located? I'm sure it's something obvious that I have missed or forgotten.

Thanks!
Ken

Submitted by support on Mon, 2020-11-16 14:33

Hi Ken,

Check in your installation for

revision.txt
or
revision.php

You can find PHP forward compatibility information and links to patches for earlier distributions here...

Cheers,
David.
--
PriceTapestry.com

Submitted by kend on Sat, 2020-12-12 22:27

Hi David,

FYI
After replacing above files, in includes/database.php line 57, I got an 500 error on the import link, and needed to change
$insertId = mysql_insert_id($link);
to
$insertId = mysqli_insert_id($link);

The PHP log will look like:
[12-Dec-2020 22:06:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_insert_id() in /home/pricetapestry/includes/database.php:57

Had to dust off some cobwebs to find that on my new host.

Thanks,
Ken

Submitted by support on Mon, 2020-12-14 08:13

Thanks Ken,

I've corrected includes/database.php in the forward compatibility patch downloads.

Cheers,
David.
--
PriceTapestry.com