| Author |
Message |
JackOnline Guest

|
Posted:
Mon Apr 21, 2003 12:01 pm |
|
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/western/public_html/includes/sql_layer.php on line 238
What can be wrong ? |
|
|
|
|
 |
JackOnline Guest

|
Posted:
Mon Apr 21, 2003 12:03 pm |
|
This message is after fresh installation Guestbook on phpNuke 6.5 |
|
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Mon Apr 21, 2003 12:09 pm |
|
Since my Guestbook doesn't use MySQL, at all, this does not concern KISGB But, concerning PHPNuke, make sure that you have also downloaded and applied the Sec-Fixpack 3. Then see if you're still getting that MySQL error. |
|
|
|
 |
Guest

|
Posted:
Mon Apr 21, 2003 3:24 pm |
|
Hmmmm
You right about MySql
Fatal error: Call to undefined function: wordwrap2() in /home/western/public_html/modules/kisgb-nuke/index.php on line 667
this is after fixpack |
|
|
|
|
 |
Guest

|
Posted:
Mon Apr 21, 2003 3:31 pm |
|
shouldn be ?
| Code: | | $data[13] = wordwrap($data[13], $Vtable_max_comment_width, "\n"); |
there is no function wordwrap2 in index.php |
|
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Mon Apr 21, 2003 3:35 pm |
|
No. wordwrap2() is in the functions.php file which is included in index.php. What version of PHP are you running? |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Mon Apr 21, 2003 3:39 pm |
|
Download and run the syschk.php script from here and post the link so I can look at some things about your setup. |
|
|
|
 |
Guest

|
Posted:
Mon Apr 21, 2003 3:43 pm |
|
In index.php from your Downloads fix for 6.5 nuke line 667 = | Code: | | $data[13] = wordwrap2($data[13], $Vtable_max_comment_width, "\n"); |
and this is Fatal error: Call to undefined function: wordwrap2() in /home/western/public_html/modules/kisgb-nuke/index.php on line 667 |
|
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Mon Apr 21, 2003 3:45 pm |
|
Download and run the syschk.php script from here and post the link so I can look at some things about your setup. |
|
|
|
 |
o10463 New Member


Joined: Feb 02, 2003 Posts: 1 Location: phx
|
Posted:
Sat Apr 26, 2003 2:25 pm |
|
Hola GCF and Guest,
I ran accross the same problem when I installed from 6.0 to 6.5, in the same order.
The final solution I realized was that I had not grabbed th previous fix that Gayland had posted for 5.02 --> 6.0, in the KISSGB Download archives... Included in this fix kit was an updated functions.php, that had wordwrap2 included... Once I updated to the newer functions.php file everything worked...
Cheers,
Gregg
 |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Apr 26, 2003 4:03 pm |
|
Thanks Gregg! That never even dawned on me to be a possible problem/solution. |
|
|
|
 |
Xube New Member


Joined: Oct 18, 2003 Posts: 2
|
Posted:
Sat Oct 18, 2003 5:04 pm |
|
Fatal error: Cannot instantiate non-existent
class: sql_db in
/home/virtual/site11/fst/var/www/html/phpnuke/db/db.php on
line 86
im getting that error whenever i go to my admin.php or index.php
and a bunch of other stuff above it out of the config.php file
please help!! |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Oct 18, 2003 5:21 pm |
|
From installing the Guestbook? |
|
|
|
 |
Xube New Member


Joined: Oct 18, 2003 Posts: 2
|
Posted:
Sat Oct 18, 2003 9:17 pm |
|
nuh phpnuke  |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Oct 18, 2003 9:20 pm |
|
You posted this under the KISGB (Guestbook) Forum. So this has nothing to do with the Guestbook application? |
|
|
|
 |
|
|
|
|