With all that CPU load I was thinking about trying to generate static HTML pages for the whole directory and it would really be greate if I could maintain the same folders structure as my navigation. For example: wsnlinks/Real_Estate_USA/California wsnlinks/Real_Estate_USA/California/2 wsnlinks/Real_Estate_USA/California/3 that would be
root> wsnlinks >Real_Estate_USA >California >2 >3 etc.
Paul, I tried generating HTML and now I can't stop it. The generation process stoped when I turned off the autogeneration option, but I can't chmod those files and folder and I can't delete them - says permission denied. Seams like something keeps overwriting my permissions every time I change them. (v.3.4.1). Also, when I started generating HTML, it created whole bunch of files for pagination (98 to be exact) just for the first category and that category has only 2 pages - all 98 files are exactly the same. Any suggestions?
Paul, the html output folder was chmoded to 777. I also tried the same thing on my local server where you don't have to chmod anything -it did exactly the same - it created the first folder for the category id=1 and then put whole bunch of the same index files with pagination... BTW, I had to turn off apache server to be able to delet those files, otherwise it wouldn't let me do that even on my local machine on WinXP. And still can't delete them on the server - all the html files chmoded to 666 and when I try to chmod them to 777 - it chmods it right back to 666 and when I try to delete them it says - permission denied. I never had anything like that before.
As long as you have root ssh access, can you check what user owns the files and what their permissions are set to? If the chmod utility doesn't work maybe a sticky bit got set somehow, though I can't imagine how.
Edit: Ah, I can imagine how now that I notice you're using an old version. There's no point to asking about something in a copy that's 13 releases out of date, it usually ends up being a waste of time. There was a possible security issue before 3.3.21, as well, though I haven't seen an exploit.
Edit: Ah, I can imagine how now that I notice you're using an old version..
No-no-no. I have installed the 3.4.1 which was available for download as the stable one a couple of days ago. Well, I'll check the user permissions from ssh.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Generating HTML
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
With all that CPU load I was thinking about trying to generate static HTML pages for the whole directory and it would really be greate if I could maintain the same folders structure as my navigation. For example:
wsnlinks/Real_Estate_USA/California
wsnlinks/Real_Estate_USA/California/2
wsnlinks/Real_Estate_USA/California/3
that would be
root>
wsnlinks
>Real_Estate_USA
>California
>2
>3
etc.
?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You can't do the page numbers like that, but the rest can stay the same.
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
Paul, I tried generating HTML and now I can't stop it. The generation process stoped when I turned off the autogeneration option, but I can't chmod those files and folder and I can't delete them - says permission denied. Seams like something keeps overwriting my permissions every time I change them. (v.3.4.1).
Also, when I started generating HTML, it created whole bunch of files for pagination (98 to be exact) just for the first category and that category has only 2 pages - all 98 files are exactly the same. Any suggestions?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Tested, works fine for me. Was the directory 777?
If you can't change permissions via FTP, uise the chmod utility.
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
Paul, the html output folder was chmoded to 777. I also tried the same thing on my local server where you don't have to chmod anything -it did exactly the same - it created the first folder for the category id=1 and then put whole bunch of the same index files with pagination... BTW, I had to turn off apache server to be able to delet those files, otherwise it wouldn't let me do that even on my local machine on WinXP. And still can't delete them on the server - all the html files chmoded to 666 and when I try to chmod them to 777 - it chmods it right back to 666 and when I try to delete them it says - permission denied. I never had anything like that before.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
As long as you have root ssh access, can you check what user owns the files and what their permissions are set to? If the chmod utility doesn't work maybe a sticky bit got set somehow, though I can't imagine how.
Edit: Ah, I can imagine how now that I notice you're using an old version. There's no point to asking about something in a copy that's 13 releases out of date, it usually ends up being a waste of time. There was a possible security issue before 3.3.21, as well, though I haven't seen an exploit.
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
Edit: Ah, I can imagine how now that I notice you're using an old version..
No-no-no. I have installed the 3.4.1 which was available for download as the stable one a couple of days ago. Well, I'll check the user permissions from ssh.