Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
This topic contains 1 reply, has 1 voice, and was last updated by vistamedia 16 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Hi everybody,
I recently upgraded my PC to a MAC. I now use MAMP instead of XAMPP. Some of you have experienced nasty problems when trying to run the 1.0.x quickstarts on MAMP.
The cause of this problem is the ability given by MAMP to change the default apache port (80) by the one you choose (for example 8888 for the default installation).
In fact there is a small function here : /templates/my_ja_template/ja_templatetools_1.0x.php
[PHP]function getLiveSiteURL() {
global $mosConfig_live_site;
$url = parse_url($mosConfig_live_site);
$livesite = $url[‘scheme’].’://’.$_SERVER[‘SERVER_NAME’].($_SERVER[‘SERVER_PORT’]==80?”:’:’).($url[‘path’]?$url[‘path’]:”);
return $livesite;
}[/PHP]
To solve this issue, just replace 80 by the port you choose for MAMP (default is 8888)
Hope it will help 😉
Emmanuel.
This topic contains 1 reply, has 1 voice, and was last updated by vistamedia 16 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum