Update - 1.4.6 to 1.6.2 (problem)

Please report bugs here!

Moderator: Thorsten

Post Reply
satori
Posts: 2
Joined: Thu Jul 13, 2006 5:08 pm

Update - 1.4.6 to 1.6.2 (problem)

Post by satori »

Hello, we've just followed the upgrade process from 1.4.6 to 1.6.2, overwriting the appropriate files, and ran the update.php script...

However, on step 5 of the update page it gives us:


Fatal error: Call to undefined function: fixslashes() in /home/user/public_html/site_faq/install/update.php on line 514

In the admin pages, we get the following errors:

"Edit Records"

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/user/public_html/site_faq/inc/mysql.php on line 176

Warning: Invalid argument supplied for foreach() in /home/user/public_html/site_faq/admin/record.show.php on line 71

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/user/public_html/site_faq/inc/mysql.php on line 176

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/user/public_html/site_faq/inc/mysql.php on line 176


"Rating Statistics"

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/user/public_html/site_faq/inc/mysql.php on line 176

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/user/public_html/site_faq/inc/mysql.php on line 144


Any help would be greatly appreciated, this is a great script otherwise!
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Re: Update - 1.4.6 to 1.6.2 (problem)

Post by matteo »

Hi satori,
satori wrote:Hello, we've just followed the upgrade process from 1.4.6 to 1.6.2, overwriting the appropriate files, and ran the update.php script...

However, on step 5 of the update page it gives us:

Fatal error: Call to undefined function: fixslashes() in /home/user/public_html/site_faq/install/update.php on line 514
this missing could be driven by your missing to update all of the files of your phpMyFAQ [PMF] server: that function is inside the inc/functions.php file but may be your current file has been not updated.
satori wrote:In the admin pages, we get the following errors:
Those errors are almost related to the miss of performing step #5 of the update stage.

Please, be sure that all files of your PMF server are being updated with those coming from the PMF 1.6.2 release and rerun the update stage.
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
satori
Posts: 2
Joined: Thu Jul 13, 2006 5:08 pm

Post by satori »

Aha, I thought I'd uploaded everything... But apparently not.

Works like a charm, thanks. ;)
Post Reply