Elxis CMS Forum
Support => Technical support => Topic started by: Dennis on October 23, 2009, 14:48:07
-
Greetings
I followed the instruction on moving from sub and I get this errors when I try to access the site, including back end:
Warning: Cron file access error! Check permissions to write. in /home/ mysite/public_html/includes/floodblocker.class.php on line 201
Fatal error: Log file access error! Check permissions to write. in /home/mysite/public_html/includes/floodblocker.class.php on line 162
Line 162 is empty and in line 201 is this:
$this->ip_addr = $ip;
Something went wrong when I moved the site so the question is, how can I fix this?
(its not good as my site is down!)
Regards
Dennis
-
FloodBlocker configuration file is Writeable?
FloodBlocker logs directory is Writeable ?
look at administrator/tools/floodblocker/
-
The config file is writable but the directory was not, I have make it writable.
When I reload the page, I still get the same error, do I have to upload something again or?
Edit:
I cannot access admin as I get the same error!
Other solutions?
-
See this, it should help. If not let us know again.
https://forum.elxis.org/index.php?topic=2479.0 (https://forum.elxis.org/index.php?topic=2479.0)
-
It helped but, the site is one mess and I get this error:
Error creating feed file, please make folder cache/ writable (permissions 777)
the folder was already writable?
-
i asked about two things
FloodBlocker configuration file is Writeable?
FloodBlocker logs directory is Writeable ?
look at administrator/tools/floodblocker/
cron files etc... will reside in logs dir... it sould be 777
-
When I try to set permission in Cpanel for the log files I get this error in a pop up window:
FileOp Failure on: /home/mysite/public_html/administrator/tools/floodblocker/logs/-file No here: Operation not permitted
(“file No here” is for all the file names inside the log dir)
Can I delete this files or?
-
There is only one file in that directory, index.html, which should not be deleted.
The directory should be given the write permission. The permission on your server may be either 775 or 777.
-
FileOp Failure on: /home/mysite/public_html/administrator/tools/floodblocker/logs/-file
of cource there is no -file
this the log folder you need to make writable /home/mysite/public_html/administrator/tools/floodblocker/logs
edit:
i have just seen this you have done
The config file is writable but the directory was not, I have make it writable.
other dirs must have 755 permissions
777 must have only the config file and log folder... only this two... reset anything else you have done to original permissions
****
/cache and /tmp also must be 777 .. permissions are not set automatically by any one .. you have to set the by your own... this an answer to this:
It helped but, the site is one mess and I get this error:
Error creating feed file, please make folder cache/ writable (permissions 777)
the folder was already writable?
-
Well, don’t know what to say, for 3 weeks I have created a new site with over 100
content pages and I have done everything requested by the cms, including changing
files and folders permissions.
The site worked 100% before I moved the site by follow the info on this page:
https://www.elxis.org/guides/general-guides/move-elxis-to-root-folder.html
All the files and folders that I have been requested to change permission has required
permission but, still it tells me to make this folder writable:
Error creating feed file, please make folder cache/ writable (permissions 777)
-
then check file-folders owner...
-
And who should I expect to be the owner of the file, folder?
I’m thinking, the cache folder is full of files, in the zip the folder only has one index file, is it ok
to delete everything inside the cache folder? And hope that will solve the problem?
-
You can safely delete all the files in the cache folder.
As for the file and folder owner, usually on an Internet server that is assigned automatically by the server and in most cases is the same as your login name.
You can check the permissions and the owner name with an ftp program in most cases.
-
Deleting those files got the error to disappear but, my site was still in one mess.
I DL the site to my machine and searched for the URL: elxis.mysite and found
hundreds of links that didn’t change when I moved the site in the folder cache/static/images/
Perhaps the info on the site I followed (link above) is not for the 2009 version?
-
if want pm me access to see it .. or better upload your local-site+local-db in a zip folder to install it for you...
unless your server has a problem it want be hard!
-
The links do not change automatically when you move the files from your local system to the server.
To correctly move the setup that you had on your local system using wamp or whatever, you would have zipped the files and copied them to the server.
Then you should have exported the sql on your system and then edit it using a utf-8 editor and replaced all of the localhost to your server name.
Anyway, you can do as ks-net says.