Warning: ..mysql.php on line 337 Joomla 1.5 RC4 night build

Phoca Guestbook - creating guestbooks in Joomla! CMS
neotec
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 15 Jan 2008, 12:57
Location: Germany

Hi Jan,I

Post by neotec »

Hi Jan,

I've some error codes in "Phoca Guestbook - Items"
"
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/htdocs/libraries/joomla/database/database/mysql.php on line 337

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /www/htdocs/libraries/joomla/database/database/mysql.php on line 337

Warning: array_unshift(): The first argument should be an array in /www/htdocs/administrator/components/com_phocaguestbook/views/phocaguestbooks/view.ht ml.php on line 68

Warning: current(): Passed variable is not an array or object in /www/htdocs/libraries/joomla/html/html/select.php on line 68"

Joomla 1.5 RC4 night build

any ideas ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

See your database, i

Post by Jan »

See your database, if there are two phocaguestbook tables created...

Jan
If you find Phoca extensions useful, please support the project
neotec
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 15 Jan 2008, 12:57
Location: Germany

Hallo Jan,

Post by neotec »

Hallo Jan,

danke fĂźr Deine schneller Antwort !
Hab gerade gelesen dass Du auch gut deutsch sprichst.

Das Problem ist behoben.
Mein Fehler war das '#__'

Ich habe die Tabelle einfach mit dem gleichen präfix benannt wie bei der Installation und jetzt geht alles !

Vielen Dank !
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Post by Jan »

If you find Phoca extensions useful, please support the project
Ger
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 23 Jan 2008, 01:29

Hello,I&

Post by Ger »

Hello,

I've got the same error codes, but i've got no phocaguestbook in the database. I don't know why he is not writing in the database. What could I do.

Sites works fine see www.brassers.nl/brasnw

Thanks for the reply.

Ger
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

You must do it manua

Post by Jan »

You must do it manually. Just go to e.g. PHPMyAdmin and add SQL command here. You find it in install.sql. You must change all strings
FROM:
#__
TO
your-prefix_ in this file and then copy it and paste it to SQL window in PHPMyAdmin and add submit...

Jan
If you find Phoca extensions useful, please support the project
phd
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Jan 2008, 16:45

Hi, after installati

Post by phd »

Hi, after installation I receive the same error, but after modify the install.sql to my prefix it doens't work, the same error appears.
I look in all files with #__ and replaced it with my prefix, the same error. I try also to install EasySql but this installation failed also. And I can't activate the System-Legacy plugin ;-(
What can I do?

Thanks a lot
Philip
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Please let me know t

Post by Jan »

Please let me know the errors
If you find Phoca extensions useful, please support the project
phd
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Jan 2008, 16:45

Hi, now it works

Post by phd »

Hi, now it works
I found the PHPMayAdmin, sorry for my disturbance

Philip
Ger
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 23 Jan 2008, 01:29

Hello,Ja

Post by Ger »

Hello,

Jan, thnx for the quick reply. I've found the file and I change the prefix, that's done.

But when I submit it in sql i've got an error message from sql

#1064 - You have an error in your SQL syntax near 'CHARACTER SET `utf8`' at line 22

I've got the following versions :
PHPMyadmin 2.5.6
MySQL 3.23.58

Thanks for the reply, Ger
Post Reply