Jump to content

Backoffice Problems


Recommended Posts

Hi guys, im not sure if im in the right area to post this topic .

the problem im encountering is that i cant update anything in admin ...

Front office is ok .. Backoffice loads up ok and allows me to select all tabs to view information but when i try to edit anything it returns page not found in browser.

i have presta shop set up in a /prestashop folder and use htaccess file to forward a few domains to there specific folders.

everything is working well and i have set base uri in settings.inc to '/' however to edit the admin tab items the url seems to be pointing to wrong location

that is instead of www.domain.com/admin***/?................
its populating a url www.domain.com/prestafolder/admin***/?...............

ps is currently getting its directory structure from php which would be correct if ran script from root directory but seeing im running more than 1 domain i foward the domain.com to the /prestashop folder

can anyone shed some lite on a solution for this or advise
where the admin scripts get there base uri from
or when admin page is populated and each field is populated that can be edited where does the

Link to comment
Share on other sites

hi rocky thanks for the reply ... i tried what you suggested but didnt work ...
Front end lost its CSS formating and back end was unchanged still url pointing to the wrong address causing page not found in browser ..

going through the code im noticing some variables are dependant on the SERVER['PHP_SELF'] variables i think this is my error because even though its correct for the script its causing errors for my application because i have a htaccess file in the root directory but script admin is in the /prestashop/ admin***/ folder so instead of page being requested being www.domain.com/admin*** the script is interpreting in the back end as to www.domain.com/prestafolder/admin*** .

do we know where in the admin php files the script takes this variable so we can tweak to read correctly for my purpose ...

kind regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...