Hi
write this code in the end of file config.php for each application
( apps/frontend/config/config.php, apps/backend/config/config.php ...)
$sf_root_dir = sfConfig::get('sf_root_dir');
$sf_web_dir_name = 'your web dir name';
sfConfig::add(array(
'sf_web_dir_name' => $sf_web_dir_name,
'sf_web_dir' =>
$sf_root_dir.'/../'.$sf_web_dir_name,
'sf_upload_dir' =>
$sf_root_dir.'/../'.
$sf_web_dir_name.'/uploads'
));
and rewrite string in itch controller (index.php,
frontend_dev.php .....)
define('SF_ROOT_DIR', realpath(dirname(__FILE__).'/..'));
to
define('SF_ROOT_DIR', realpath(dirname(__FILE__).'/../path to
directory where scripts located'));
also your must place all files in 'web' directory to your web
directory in hosting and plase ather folder to your script directory
in hosting and set permissions 777 to log and cache directory
On 3 май, 11:20, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi all,
> I'm facing issue with Javascript helper not working on MediaTemple
> server. I'm using button_to_function or link_to_function functions.
> It's working perfectly fine on my local machine, but none of the
> Javascript helpers work on production server. Initially I used
> Dreamhost server and all helpers used to work fine. Since I migrated
> to MediaTemple, it stopped working.
>
> It gives following error -
>
> Effect is not defined
> onclick(click clientX=0, clientY=0)
>
> Please note, if I write plain javascript functions, and dont use any
> helper, then it works fine on Prod server as well.
>
> Does anybody seen this issue before? Please give me some pointers,
> they will be very helpful.
>
> Thanks,
> Aditya
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---