Jump to content

Fatal error loading framework with site in subdirectory


mikesamar

Recommended Posts

Hello Alejandro,

 

I'm working on integrating Jreviews 2.0 in HP on the site for a client: http://www.buzz-stage.info/stage1/.

 

I've added the code to integrate jreviews to get the rating and other stuff.

On the integration line:

require_once('components' . DS . 'com_jreviews' . DS . 'jreviews' . DS . 'framework.php');

 

I get an error:

Fatal error: require_once() [function.require]: Failed opening required '/home/staging/public_html/stage1/components/com_hotproperty/components/com_jreviews/jreviews/controllers/my_controller.php'

 

You can see it here: http://www.buzz-stage.info/stage1/index.php?option=com_hotproperty&Itemid=35&lang=en&task=specsearch

 

I think the component can't work with a subdirectory (yet). How can I solve it so it will work in a subdirectory, subdomein or main domain.

 

Best regards

 

Mike Reumer

Link to comment
×
×
  • Create New...