Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
fb_debug.php error (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: fb_debug.php error
#55826
Re:fb_debug.php error 3 Months, 3 Weeks ago  
Got it.

I know what is wrong - but I am not sure I know how you got there.

The config tables inside the database exists but it is empty. Did you manually delete a record from it?
The create function in the code also inserts 1 record. Can you look into phpadmin and confirm that jos_fb_config is empty?
Is so, simply delete that table - it will recreate it the next time you visit the site - just with default values.

I will add a fail-safe to it. WOuld still like to know how this happened.

Thx!
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1211
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
The administrator has disabled public write access.  
#55827
Re:fb_debug.php error 3 Months, 3 Weeks ago  
In my case, the jos_db_config table has one record that looks like this:

jos_fb_config VALUES ('Program de gestiune', 'the_email_address', 0, 0, '<h2>The Forum is currently offline for maintenance.</h2>rnCheck back soon! ', 'flat', 1, 1, 20, 6, 15, 1, 6, 1, 'NEW!', 1, 0, 'default', 'default', 0, 1, 0, 'category_images/', 2, 1, 62, 450, 300, 1, 1, 1, 1, 1, 0, 1, 1, 9, 1, 1, 0, 600, 1, 1, 1, 1, 250, 50, 300, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 'gd2', 50, 50, 100, 100, 250, 250, 65, 2048, 0, 1, 800, 800, 150, 0, 1, 'zip,txt,doc,gz,tgz', 120, 1, 1, 'fb', 'fb', 'no', 0, 0, 0, 30, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 10, 5, 0, 1, 1, 100, 1, 1, 1, 1, 1, 1, 1, 5, 1, 5, 0, 1, 1, 'www.bestofjoomla.com/', 1, 1, 1, 'www.bestofjoomla.com/')
websolutionsguru (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/08/12 12:55 By websolutionsguru.
 
The administrator has disabled public write access.  
#55828
Re:fb_debug.php error 3 Months, 3 Weeks ago  
Hmmm... let me check....
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1211
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
The administrator has disabled public write access.  
#55829
Re:fb_debug.php error 3 Months, 3 Weeks ago  
I've dropped the jos_fb_config table and it's been recreated, just as you said. The values in the newly created table are:

jos_fb_config VALUES ('FireBoard', ' This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ', 0, 0, '<h2>The Forum is currently offline for maintenance.</h2>n Check back soon! ', 'flat', 1, 1, 20, 6, 15, 1, 6, 1, 'NEW!', 1, 0, 'default_ex', 'default_ex', 0, 1, 0, 'category_images/', 2, 1, 62, 450, 300, 1, 1, 1, 1, 0, 0, 1, 1, 9, 1, 1, 0, 600, 1, 1, 1, 1, 250, 50, 300, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 'gd2', 50, 50, 100, 100, 250, 250, 65, 2048, 0, 1, 800, 800, 150, 0, 1, 'zip,txt,doc,gz,tgz', 120, 1, 1, 'fb', 'fb', 'no', 0, 0, 0, 30, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 10, 5, 0, 1, 1, 100, 1, 1, 1, 1, 1, 1, 1, 5, 1, 5, 0, 1, 1, 'www.bestofjoomla.com/', 1, 1, 1, 'www.bestofjoomla.com/', 1, 1, 1, 1, 40, 20, 1, 1, 'en-us'

However, the problem remains:

Catchable fatal error: Object of class fb_Config could not be converted to string in C:xampphtdocsthe-business-manager.comcomponentscom_fireboardsourcesfb_debug.php on line 70
websolutionsguru (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/08/12 13:05 By websolutionsguru.
 
The administrator has disabled public write access.  
#55830
Re:fb_debug.php error 3 Months, 3 Weeks ago  
No I didn't manually delete any records (I'm talking about the attached PDF from Disciple user).
jos_fb_config is NOT empty (I've attached the file record).
After I dropped the table the problem still exist (i've attached another error output).

Thank you.
disciple (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/08/12 13:08 By disciple.
 
The administrator has disabled public write access.  
#55831
Re:fb_debug.php error 3 Months, 3 Weeks ago  
Here are the 2 files.
File Attachment:
File Name: fb_debug-7326bcecbcc138ec1a02fe2dfa14cb1a.zip
File Size: 77356
disciple (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/08/12 13:12 By disciple.
 
The administrator has disabled public write access.  
#55832
Re:fb_debug.php error 3 Months, 3 Weeks ago  
Sorry guys I am getting confused here. Are we talking about 1 person with a problem or 2 different sites with different problems?

WHat version of Joomla, PHP & MySQL are you running? What OS?

Also can you explain what steps took you here?
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1211
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
Last Edit: 2008/08/12 13:14 By fxstein.
 
 
The administrator has disabled public write access.  
#55833
Re:fb_debug.php error 3 Months, 3 Weeks ago  
Hi, my name is Eugene (disciple username) and I posted a question about debug.php. Another user (I don't know him) posted something different or maybe same also.
I'm using Joomla 1.5.5 without SEF, OS-Vista 64 and Linux on the real server (it happens on both), PHP-Latest, MySQL-5.0.51b.
Thank you and here is the fb_config that was NOT empty but after I dropped it, still the same.
File Attachment:
File Name: jos_fb_config.zip
File Size: 116023
disciple (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#55834
Re:fb_debug.php error 3 Months, 3 Weeks ago  
Well, it seems to me that there are two different sites with the same problem. Here is my configuration:

I'm using the XAMPP 1.5.5 package that comes with:

MySQL server version: 5.0.27-community-nt
PHP 5.2.0
Windows XP
websolutionsguru (User)
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#55868
Re:fb_debug.php error 3 Months, 3 Weeks ago  
Ok thanks for clarifying. I have not found out what is going on here.

The code does a simple SELECT * that fails but it should not if the table exists and there is data in it.
fxstein (Moderator)
FB Core Team
starVmax
Moderator
Posts: 1211
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fxstein starVmax Location: Silicon Valley, USA
Logged Logged
 
 
The administrator has disabled public write access.  
Go to top