Admission denied and other issues
Permalink
Hello again good people.
I downloaded my site to work on it in MAMP. Got it close to the way I wanted it. Made a new folder in root at my hosting company and uploaded the whole site as a zip file, unzipped it in the hosts file manager, cleated a new database, imported the backup from MAMP and connected. All well :)
Now all of a sudden I am getting problems. When trying to edit the footer, I keep getting "admission denied" messages (at first in clipboard). And after working on the footer (global), the changes are not saved and I am being logged out. I have all cache turned off and have cleared the cache.
If anyone want to log in and have a look, I would be grateful. Just PM me for user/password
???????
URL:http://cellista.no/site2
I downloaded my site to work on it in MAMP. Got it close to the way I wanted it. Made a new folder in root at my hosting company and uploaded the whole site as a zip file, unzipped it in the hosts file manager, cleated a new database, imported the backup from MAMP and connected. All well :)
Now all of a sudden I am getting problems. When trying to edit the footer, I keep getting "admission denied" messages (at first in clipboard). And after working on the footer (global), the changes are not saved and I am being logged out. I have all cache turned off and have cleared the cache.
If anyone want to log in and have a look, I would be grateful. Just PM me for user/password
???????
URL:http://cellista.no/site2
Did you clear the cache before you made your mysql back-up? That ones got me before. Also the .htacess file may be different on the server. Pretty URLS may need to be turned off. Also I don't think permissions are inherited by copying your folder structure. Make sure you can read and write on all the same folders on the server.
Helo.
Yes I did clear the cache. Even emptied the files->cache folder.
Not sure about the Pretty URLs in .htaccess.
What is the code for it? I can check.
Yes I did clear the cache. Even emptied the files->cache folder.
Not sure about the Pretty URLs in .htaccess.
What is the code for it? I can check.
I was asking if you cleared your cache before you copied it and made the mysql dump. If there was something there to delete then you probably didn't clear it before you zipped it. The .htaccess file can be empty. And when you turn on on the prettyurls it will write to your .htacess file on your server. It sounds like your having problems writing to your files on the server (permissions)- You have to give folders the correct permissions to read and write. This link will have the info-
http://www.concrete5.org/documentation/installation/moving_a_site/...
http://www.concrete5.org/documentation/installation/moving_a_site/...
I cleared cache and deleted files etc before making database backup and zipping site for upload. Everything seems OK now. I have some extra code in .htaccess since site is in separate folder inside root
Current .htaccess file looks like this:
Maybe the problem is that the .htaccess file point to the current live version and not the version I am working on?
AddHandler phpini-cgi .php Action phpini-cgi /cgi-bin/php5-custom-ini.cgi # Do not change this line. RewriteEngine on # Change yourdomain.com to be your main domain. RewriteCond %{HTTP_HOST} ^(www.)?cellista.no$ [NC] # Change 'subfolder' to be the folder you will use for your main domain. RewriteCond %{REQUEST_URI} !^/site1/ # Don't change these lines. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Change 'subfolder' to be the folder you will use for your main domain. RewriteRule ^(.*)$ /site1/$1 [L] # Change yourdomain.com to be your main domain again. # Change 'subfolder' to be the folder you will use for your main domain
Viewing 15 lines of 26 lines. View entire code block.
Maybe the problem is that the .htaccess file point to the current live version and not the version I am working on?