Good evening,
i`ve been having problem setting up cake to run on my local.
I`m replicating how the installation should be like when its deployed
on the production server.
Here is cake directory structure on my local
htdocs/talentportal/app <-- location of app
htdocs/talentportal/cake <-- location of cake files
htdocs/talentportal/ <--root directory, js,img,etc is all here
At the current moment, settings in my index.php is
Root = /htdocs/talentportal
App_DIR = app
CAKE_CORE_INCLUDE_PATH= /htdocs/talentportal
(note, i inserted the absolute path, over here,i cut it short)
Everything works fine on this setting, model, controoler,views..
everything works until
i call $javascript->link('script');
the javascript is not loaded because the src specified because
on the html source, it display,
src="/talentportal/app/talentportal/js/script.js"
soon i found out,
anything within the form tag, where action is specified,
action="/talentportal/index.php/talentportal/talentmodels/add"
Everything seems screw up.
I`ve worked around with the settings in index.php but this only works.
Can cake actually work within webroot?
(note, i had to avoid using mod_rewrite because the production server
is IIS but i`m running apache on my local)'
Thanks guys in advance.
regards,
clayton
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php
-~----------~----~----~----~------~----~------~--~---