Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 03:28:00 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Problem with WebsiteBaker version 2.7  (Read 530 times)
JayKay89

Offline Offline

Posts: 16



« on: May 20, 2008, 01:01:46 PM »

Hey Guys,
I have upgradet from version 2.6.7 to 2.7 today and now I'm having trouble with a module i coded before. "Normal" pages are displayed correctly but pages based on my module show nothing but this error message: (Error reporting turned on "E_ALL")

Quote
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /mnt/web7/32/08/51772508/htdocs/wb/framework/class.database.php on line 137

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /mnt/web7/32/08/51772508/htdocs/wb/framework/class.database.php on line 137

Fatal error: Call to a member function numRows() on a non-object in /mnt/web7/32/08/51772508/htdocs/wb/modules/output_filter/filter-routines.php on line 35

So obviously these errors are not produced by my code, but i might call some functions that have changed from version 2.6.7 to 2.7. I just don't know how to fix my code, can anybody please help me?  huh

Thanks a lot!

Regards, JayKay89
Logged
doc
Guest
« Reply #1 on: May 20, 2008, 03:46:53 PM »

Hello,

please re-run the upgrade script contained in the WB 2.7 package. Seems the database table for the output filter module is not installed correct. Another possibility is to rename /modules/output_filter/filter_routines.php into filter_routines2.ph p and try again.

Regards Christian
Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #2 on: May 20, 2008, 05:27:47 PM »

Hello,

try to add this line
Code:
$database = new database();

to wb/index.php
just before
Code:
if(file_exists(WB_PATH .'/modules/output_filter/filter-routines.php')) {
    // include the output filter module routines
    @require_once(WB_PATH .'/modules/output_filter/filter-routines.php');

thorn.
Logged

JayKay89

Offline Offline

Posts: 16



« Reply #3 on: May 20, 2008, 08:02:32 PM »

Alright, first of all: thank you!

I already renamed the filter_routine.php and now it's working just fine. But it's not possible to use the output-filter module anymore, is it? Maybe i'll need to try the other possibilities too, I'll tell you then what fixed it best Wink

Regards, JayKay89

PS: Sorry bout my lame English, unfortunately it's not my mother tongue.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!