English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: Jomres Installation...
#10225
Jomres Installation... 12 Years, 6 Months ago Karma: 0
Dear Edwin,

I have installed com_jomres successfully on both the master and the slave. (accommodation).
However, when I want to open component in front end I get the following error message:

Fatal error: Cannot redeclare jomresurl() (previously declared in /home/thabakai/domains/thabachweu.net/subdomains/master/public_html/jomres/integration.php:171) in /home/thabakai/domains/thabachweu.net/subdomains/accommodation/public_html/jomres/integration.php on line 193

Have you got any idea what this might mean and where I have to go and search?

Regards,
Tiaan Viljoen
Earthwalker
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10230
Re: Jomres Installation... 12 Years, 6 Months ago Karma: 54
Based on what I see in the jom_res/integration source, this file is probably included twice.

Do you have duplicated the /jomres directory in a slave site.

The path mention that you have a first call in
master/public_html/jomres/integration.php:171
accommodation/public_html/jomres/integration.php on line 193

Verify if you have a symbolic link on the /jomres directory.
Perhaps you have a duplicated jomres directory installed.

If you don't want to identify why the file is included twice, a quick an durty solution could be to add a test in the file itself to verify if it is already include.

Here it is something that you could use to get inspired.

if ( !defined( 'JOMRES_INTEGRATION'))
{
define( 'JOMRES_INTEGRATION', true);

***** PUT HERE ALL THE SOURCE ******

}
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2012/06/07 13:24 By edwin2win.
The administrator has disabled public write access.
 
#10231
Re: Jomres Installation... 12 Years, 6 Months ago Karma: 0
Thank you very much, will try...
Earthwalker
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10479
Re:Jomres Installation... 12 Years, 5 Months ago Karma: 0
Dear Edwin,

I do trust that you are fine? I am still struggling to install Jomres.
Yes indeed I copied a jomres folder to slave site, hehe...
Still did not figure out what you meant by the test, too much for me.

I installed from master and also shared from master, same error?

This is the error I get when accessing component from front end.

Fatal error: require_once() [function.require]: Failed opening required '/home/thabakai/domains/thabachweu.net/subdomains/accommodation/public_html/jomres/integration.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thabakai/domains/thabachweu.net/subdomains/master/public_html/components/com_jomres/router.php on line 25

Perhaps you can figure out when looking at it quickly? I tries to enter backend?

Regards,
Tiaan Viljoen
Earthwalker
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10485
Re:Jomres Installation... 12 Years, 5 Months ago Karma: 54
This fatal error message means that a file is not present.

So check if you have correctly installed JomRes and if the file "integration.php"
exists in the directory
/home/thabakai/domains/thabachweu.net/subdomains/accommodation/public_html/jomres/

Based on this error message, it seems that the file does not exists or you don't have permission to access this file or folder.

I suspect that the jomres directory does not exists in the slave site.
I think you should have a symbolic link.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla