RC3 update problem (more problems July 16)

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
Faro
Registered User
Posts: 8
Joined: Wed Jun 27, 2007 5:02 pm

RC3 update problem (more problems July 16)

Post by Faro »

Since i just updated my forum to RC3, a mysql problem accured when ever i wanted to open/browser a forum.

Code: Select all

Fatal error: Call to undefined method dbal_mysqli::sql_like_expression() in /home/silversh/public_html/revenge/websiterv/forumrv/includes/functions.php on line 3880
Line 3880=

Code: Select all

$reading_sql = ' AND s.session_page ' . $db->sql_like_expression("{$db->any_char}_f_={$f}x{$db->any_char}");
this is what i get...
Last edited by Faro on Tue Jul 17, 2007 4:38 am, edited 3 times in total.
User avatar
iyeru42
Registered User
Posts: 1120
Joined: Wed Feb 01, 2006 7:22 pm
Location: Madison, WI
Contact:

Re: RC3 update problem

Post by iyeru42 »

What version of MySQL and PHP do you have?
My Website | My MOD Requests | Foreign Key Docs (some topics are not requests)
"It's easy to rebel, but it's hard to be recognized."
User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34457
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run
Contact:

Re: RC3 update problem

Post by A_Jelly_Doughnut »

It sounds like your includes/db/mysqli.php did not get updated to RC3...try updating that file with one from the RC3 package.
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish
Faro
Registered User
Posts: 8
Joined: Wed Jun 27, 2007 5:02 pm

Re: RC3 update problem

Post by Faro »

iyeru42 wrote:What version of MySQL and PHP do you have?
PHP Version 5.1.6
MYSQL 5.0.27
A_Jelly_Doughnut wrote:It sounds like your includes/db/mysqli.php did not get updated to RC3...try updating that file with one from the RC3 package.
I did and I still get the same problem
Faro
Registered User
Posts: 8
Joined: Wed Jun 27, 2007 5:02 pm

Re: RC3 update problem

Post by Faro »

I "fixed it temp"

I deleted this

Code: Select all

if (!empty($_REQUEST['f']))
		{
			$f = request_var('f', 0);

			$reading_sql = ' AND s.session_page ' . $db->sql_like_expression("{$db->any_char}_f_={$f}x{$db->any_char}");
		}
which is line 3876 - 3881


now it seems to work normally again
Faro
Registered User
Posts: 8
Joined: Wed Jun 27, 2007 5:02 pm

Re: RC3 update problem

Post by Faro »

more problems showed up...

Code: Select all

Fatal error: Call to undefined method dbal_mysqli::sql_like_expression() in /home/silversh/public_html/revenge/websiterv/forumrv/memberlist.php on line 1028
this one comes when im in the member list clicking the
Find a member • A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Acyd Burn
Consultant
Consultant
Posts: 5830
Joined: Wed Dec 05, 2001 8:31 pm
Location: Behind You
Name: Meik Sievertsen

Re: RC3 update problem (more problems July 16)

Post by Acyd Burn »

You really have all RC3 files uploaded/updated? the function is defined in includes/db/dbal.php
Faro
Registered User
Posts: 8
Joined: Wed Jun 27, 2007 5:02 pm

Re: RC3 update problem (more problems July 16)

Post by Faro »

Acyd Burn wrote:You really have all RC3 files uploaded/updated? the function is defined in includes/db/dbal.php
meh.. I think i better just reinstall to get a fresh RC3 and then import the database and see what happens
User avatar
Phil
Former Team Member
Posts: 10403
Joined: Sat Nov 25, 2006 4:11 am
Name: Phil Crumm
Contact:

Re: RC3 update problem (more problems July 16)

Post by Phil »

Alternatively, upload db/dbal.php.
Moving on, with the wind. | My Corner of the Web
Faro
Registered User
Posts: 8
Joined: Wed Jun 27, 2007 5:02 pm

Re: RC3 update problem (more problems July 16)

Post by Faro »

naah.... having to many problems with it now.. better to reinstall it
User avatar
gn#36
Translator
Posts: 194
Joined: Fri Oct 13, 2006 1:16 pm
Contact:

Re: RC3 update problem (more problems July 16)

Post by gn#36 »

Was this function included in RC2? It doesn't seem to be in my current file version (which is from RC2) and the automatic updater didn't require to update the file.
German Support Team Member • http://www.phpbb.deMy Extensions in the CDBMy Extensions on Github • Contact with caos is inavoidable but no catastrophy if you keep an overview.
Punchfase
Registered User
Posts: 2
Joined: Mon Apr 16, 2007 8:35 pm

Re: RC3 update problem (more problems July 16)

Post by Punchfase »

I had this exact error the OP posted. I upped the db/dbal.php file form the full RC3 release and all was well. thanks much!

may want to include this file with the updated files only version of the RC3 release.
User avatar
Kellanved
Former Team Member
Posts: 2635
Joined: Wed Jan 26, 2005 2:48 pm
Location: Meta-level

Re: RC3 update problem (more problems July 16)

Post by Kellanved »

Punchfase wrote:I had this exact error the OP posted. I upped the db/dbal.php file form the full RC3 release and all was well. thanks much!

may want to include this file with the updated files only version of the RC3 release.
The file was not changed between RC2 and RC3.
Nocando is in Idontwanna county. No support via PM
Locked

Return to “[3.0.x] Support Forum”