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
|
|
|
|
|
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 ******
}
|
|
|
Last Edit: 2012/06/07 13:24 By edwin2win.
|
|
Re: Jomres Installation... 12 Years, 6 Months ago
|
Karma: 0
|
Thank you very much, will try...
|
|
|
|
|
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
|
|
|
|
|
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.
|
|
|
|
|
|