You are not logged in.
Pages: 1
I have installed Pluck on my website and tryed to make pages but when I look at the website or preiew it I get this:
404: not found
This page could not be found.
Any clue what can be wrong? Everything seams to be working fine, I have tryed to delite and reinstall Pluck on my server but nothing changes.
Alma
Last edited by Alma (16-08-2011 11:03:58)
Offline
Can you post a link to your website?
Offline
URL removed
Alma
Last edited by Alma (21-07-2011 20:45:27)
Offline
Chech if you have any files on your serwer on data/settings/pages
Mabey some problems with writing/reading this directory?
When you acces PA you can see your page and you can edit it?
A_Bach
Offline
Alma, can you please check whether the server your website is hosted on meets the requirements as mentioned here? If you're not sure, you can send a mail to your hosting provider with the above link. They can tell you more about the specs of your server.
Offline
Hello Sander, thank you for answering. I'm not too sure about the tecnical stuff so I wrote Surftown and asked them to look at the link with the requirements. They sent me another link full of informations, I could not find all the answers but here is the link: http://wsl2.surftown.com/phpinfo.php
Can you see if something is missing?
Alma
Offline
Hi All,
I fixed the problem for Alma.
The online installer made httpd/httpd owner of the directories /data/settings/modules and /data/settings/pages.
When running the installer the webserver (uid:httpd) creates the directories, therfor the owner of the directories is wrong.
install.php Line: 172 to 184 contains the following statements.
//Make some dirs for the trashcan and modulesettings.
mkdir('data/trash/pages', 0777);
chmod('data/trash/pages', 0777);
mkdir('data/trash/images', 0777);
chmod('data/trash/images', 0777);
mkdir('data/settings/modules', 0777);
chmod('data/settings/modules', 0777);
mkdir('data/settings/pages', 0777);
chmod('data/settings/pages', 0777);
mkdir('data/settings/modules/albums', 0777);
chmod('data/settings/modules/albums', 0777);
mkdir('data/settings/modules/blog', 0777);
chmod('data/settings/modules/blog', 0777);
I removed these and recreated them manually with the correct owner and all works fine now.
Now this can be solved very simple in the 4.6.4 to 4.6.5 by removing the following statements in the install.php file, and create the dirs manually before packing the source file for download ?
Best regards
Karl Heidar
Offline
Hi adittionally the files that are created by the server need to be created allso in the install source package.
These 5 files need to be created but empty, otherwise the installer will create these files with the wrong owner uid:
data/settings/token.php
data/settings/update_lastcheck.php
data/settings/pass.php
data/settings/options
data/settings/install.dat
I have changed the install.php file, created the directorys and files needed, and i am testing this now.
Offline
Hi karlh,
thanks for your information. On most servers, the problems you describe do not occur. What you describe, sounds like a safe_mode issue to me, however on http://wsl2.surftown.com/phpinfo.php the local value of safe_mode is off, so that should be ok. The master value is set to on however, so maybe the safe_mode is enabled on the account in question. Can you confirm this?
Offline
Hi Sander,
Yes indeed, safe_mode was enabled
not on the master server but on the site.
But this is still an issue for those who have safe_mode enabled ?
Offline
Yes. That's why pluck only supports servers with the PHP safe_mode disabled (as mentioned in the requirements). In my opinion, a webhost wouldn't need to have the safe_mode enabled at all. Luckily, most of the webhosting providers nowadays have it disabled.
The goods news, though, is that the safe_mode will be removed starting with PHP 6. In the mean time, users will have to make sure their host does not run PHP with the safe_mode enabled. Pluck 4.7 will feature a requirements check which will detect this setting.
Offline
Hello Sander,
Surftown moved my account over to a PHP5 server and and both save_modes are off now and everything works on Pluck ![]()
I installed both Pluck 4-6-4 and Pluck 4-7 beta which I like better because I can create sublinks. Hoever there are no themes for the beta version so I guess I have to wait or try to develope my own theme.
Thanks,
Alma
Offline
YES it fixed my problem
Offline
Pages: 1