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.
Last edited by Alma (16-08-2011 11:03:58)
Can you post a link to your website?
Last edited by Alma (21-07-2011 20:45:27)
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?
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.
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?
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.
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 ?
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:
I have changed the install.php file, created the directorys and files needed, and i am testing this now.
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?
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 ?
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.
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.