Settings won't save
« on: January 12, 2012, 04:20:30 AM »
I just moved to a new host, and everything is working fine with the crawl & sitemap generation. However, if I try to change a setting and click "save", when I go back I see that the new settings did not save. I'm guessing it's a file permissions problem, but which file and what do the permissions need to be?

Thanks!
Re: Settings won't save
« Reply #1 on: January 12, 2012, 07:03:19 PM »
Hello,

try to set 666 permissions for generator/data/generator.conf file.
Re: Settings won't save
« Reply #2 on: January 12, 2012, 07:10:28 PM »
Thanks, that did the trick!   :)
Re: Settings won't save
« Reply #3 on: January 15, 2012, 02:02:43 AM »
Hmmm, well that let me save the settings, but now I have another issue. Now when I run the crawl I get the following messages:

Code: [Select]
Warning: fopen(/home/user/public_html/generator/data/progress/ae/ae60fb950ff4f7667830c7fd91188fa7.txt) [function.fopen]: failed to open stream: Permission denied in/home/intn01/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 11

Warning: fwrite(): supplied argument is not a valid stream resource in/home/user/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 12

Warning: fclose(): supplied argument is not a valid stream resource in/home/user/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 13

Re: Settings won't save
« Reply #4 on: January 15, 2012, 07:14:53 AM »
Hello,

try to disable "Use temporary files" setting in "Advanced settings" section.
Re: Settings won't save
« Reply #5 on: January 16, 2012, 06:35:21 PM »
OK, that did the trick. Strange, though, that it worked with that setting enabled on my old host, but I have to disable it on the new host. Might that be a file permissions issue again? Or perhaps a disallowed php function?

Thanks.
Re: Settings won't save
« Reply #6 on: January 17, 2012, 12:53:54 PM »
It might be that old files are there and permissions do not allow generator to remove them.
Re: Settings won't save
« Reply #7 on: January 17, 2012, 04:06:55 PM »
Can you tell me what those files would be titled and where they would be located? Perhaps I could delete them or change the permissions of whatever folder in which they are located.
Re: Settings won't save
« Reply #9 on: January 17, 2012, 07:02:55 PM »
Thanks. I deleted everything in the generator/data/progress/ folder and that eliminated the error.

Thanks again!