Wednesday 12 October 2011 3:41:43 pm - 10 replies
I'm very new to eZ (used Joomla and Typo3 before). My employee wants me to test our website in local mode via xampp and I moved the db and the files and flushed the cache. Everything works fine, except the js and css for the backend are missing.
The path to these files is: http://localhost/mySite/C:/xampp/...ece0a4eea81e65282910803951bd_all.css
As you can see, this is wrong. I debugged via xDebug and googled a lot - I just can't find anything...
Any ideas? Every hint is appreciated!
Wednesday 12 October 2011 4:16:25 pm
your virtualhost or your htaccess.
Wednesday 12 October 2011 4:46:49 pm
Please! Listen ...
You should -not- set VarDir= (blank) in your settings/override/site.ini.append.php
This is in all likely hood a huge mistake!
You should (in most situations) set VarDir=var/siteacessname in your siteaccess settings (both admin and user siteaccesses) like settings/siteaccess/customsiteacessname/site.ini.append.php
If you make mistakes with your VarDir setting you potentially can misplace/loose uploaded file content (this varies greatly depending on your actual siteaccess, db and var dir configuration)
Wednesday 12 October 2011 6:41:35 pm
I did just tell you what to do, re-read the second part of my above post please.
I told you to remove your VarDir= setting in settings/override/site.ini.append.php entirely!
I told you to add VarDir=var/siteacessname setting to both admin and user siteaccesses site.ini.append.php this would be in these files:
I hope this helps ...
Wednesday 12 October 2011 8:42:56 pm
Adding a soft touch to the thread, trying to give you the "why", Peter :
any configuration directive placed in the global override for a configuration file (site.ini in our case) will override any value placed in the siteaccess configuration files. More on the siteaccesses in Greg's tutorial and in the online documentation.
One solution to your issue is to remove completely the 'VarDir' directive from the global override (settings/override/site.ini.append.php) and place it in both the front-end and back-end siteaccesses (ref post from Heath just above).
Let us know how things go,
Thursday 13 October 2011 10:00:54 am
Aaah, I misunderstood that part, saying I should "not set" it. Thanks again!
About the overwriting - the procedure is known to me since I've set up a magento shop. But thanks for explaining!
Very kind of you of answering my questions! This is a very good forum!
You must be logged in to post messages in this topic!