Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
Apache Error (1 viewing) (1) Guest
TOPIC: Apache Error
#48363
Apache Error 9 Months, 1 Week ago  
Hi:

Could someone explaing this error:

[Thu Apr 03 14:42:43 2008] [error] [client 1.1.1.1] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/usr/local/apache2/htdocs/customer1/includes/class.ezpdf.php' for inclusion (include_path='.:/usr/local/lib/php' in /usr/local/apache2/htdocs/customer1/components/com_fireboard/sources/fb_pdf.php on line 63

My site is being bad looking (modules off), want to find wats going on.

TIA

latino (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#48384
Re:Apache Error 9 Months, 1 Week ago  
This

ezpdf.php

is the cause of your error. This file cannot be found.
grumblemarc (User)
Platinum Boarder
Posts: 3559
graph
User Offline Click here to see the profile of this user
Gender: Male
Logged Logged
 
 
#59504
Re:Apache Error 3 Months, 1 Week ago  
This is a bug in the FireBoard code, at least for Joomla 1.5.
In /components/com_fireboard/sources/fb_pdf.php, on line 125 is this:

Code:


include (JB_JABSPATH . '/includes/class.ezpdf.php');



JB_JABSPATH stands for "JoomlaBoard base path", but it looks like this variable's not being read, and so it looks in the site base path /includes folder by default instead of in the component's include folder, and Joomla doesn't have a class.ezpdf.php so it gives an error.

Note that I have the PDF option turned off in my Fireboard config, but it still tries to include this class. It should be conditional based upon the config, i.e.:

Code:


if($fbconfig->pdf == 1){
include (JB_JABSPATH . '/includes/class.ezpdf.php');
}



I don't know what the actual param variable would be here, it's just an example.

But for now you can either fix the path using $mosconfig_livesite (1.0) or JURI::root() (1.5), and add /components/com_fireboard. So, change it to this for 1.5:

Code:


include (JURI::root(). 'components/com_fireboard/includes/class.ezpdf.php');


Code:


include ($mosconfig_livesite. 'components/com_fireboard/includes/class.ezpdf.php');



I suppose even that could be made conditional.
cvoogt (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/10/02 23:46 By cvoogt.
 
 
Go to top