Hi, I can't upload files with module news and gallery, In my system information, after install have this notifications:
Session Save Path (session_save_path), Caution, No check because open basedir active
disable_functions in PHP (disable_functions), Caution
phppinfo(): functions: dl, system, passthru, exec, shell_exec, proc_open, proc_get_status, proc_terminate, proc_close, virtual, exe
And PHP Open Basedir (open_basedir) Caution /var/www/vhosts/mysite.com/:/tmp/
the server permissions not allowing this, impossible to modify php.ini, What can I do? I think these problems happen because of this situation
Also, can't create subdirectories with Gallery module, etc.... all about upload, rwx, ...
[SOLVED] fails upload images w news, server permissions
[SOLVED] fails upload images w news, server permissions
Last edited by uloloi on Mon Jan 27, 2014 4:08 am, edited 1 time in total.
Re: fails upload images with modules, server permissions n c
Make sure that the /uploads directory AND all directories below have the proper permissions. Try 777 and apply recursively to all files and folders (/uploads folder and deeper)
Re: fails upload images with modules, server permissions n c
Probably caused by Open Basedir: http://docs.cmsmadesimple.org/installat ... ir_enabled
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: fails upload images with modules, server permissions n c
I tried to change permissions using filezilla, manually, also tried uploading files and images from local to remote, the problem persist when I create a new item from News module, can't write.
Uff! I haven't contacted with server support. Is there a way to create a custom php.ini file to my site? Can I enable/disable php extensions using some .htaccess instruction? If I have a sitename and sub-domain, both can work in the same cms enviroment, same database?
Uff! I haven't contacted with server support. Is there a way to create a custom php.ini file to my site? Can I enable/disable php extensions using some .htaccess instruction? If I have a sitename and sub-domain, both can work in the same cms enviroment, same database?
Re: fails upload images with modules, server permissions n c
Although usually 777 permissions work fine for most hosts, some may have different rules for umask. Try 755 too.uloloi wrote:I tried to change permissions using filezilla, manually, also tried uploading files and images from local to remote, the problem persist when I create a new item from News module, can't write.
http://docs.cmsmadesimple.org/installat ... ation-mask
You should. It would be easier. Some hosts even have on their site a FAQ section.uloloi wrote:Uff! I haven't contacted with server support.
CMSMS Docs wrote:Although the Open Basedir test falls under a "recommended" test, and the installation is allowed to proceed, use of CMSMS under this environment is not supported. Any support issues regarding an install operating with this setting may be ignored unless it can be illustrated that the issue is not a result of this setting. Proceed at your own risk.
If enabled by your host, you can create a php.ini file on the root of your domain with just the settings you want to override.uloloi wrote:Is there a way to create a custom php.ini file to my site?
See http://php.net/manual/en/ini.core.php
If your host is running PHP as an Apache module, maybe. See http://php.net/manual/en/configuration.changes.phpuloloi wrote:Can I enable/disable php extensions using some .htaccess instruction?
Yes, just make sure you have a different table prefix for each (configurable on install).uloloi wrote:If I have a sitename and sub-domain, both can work in the same cms enviroment, same database?
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: fails upload images with modules, server permissions n c
To be sure: I wouldn't call it the same 'cms environment'!Jo Morg wrote:Yes, just make sure you have a different table prefix for each (configurable on install).uloloi wrote:If I have a sitename and sub-domain, both can work in the same cms enviroment, same database?
You can use the same database but need to have TWO separate CMSMS installations AND what JoMorg says: make sure you use a different table prefix for both installations (option during install process).
Not sure what you would try to accomplish. Maybe there are some tricks to make it work in one CMSMS environment but CMSMS is not developed to support multiple domains as far as I know.
Re: fails upload images with modules, server permissions n c
Yep... I misinterpreted the question...velden wrote:To be sure: I wouldn't call it the same 'cms environment'!Jo Morg wrote:Yes, just make sure you have a different table prefix for each (configurable on install).uloloi wrote:If I have a sitename and sub-domain, both can work in the same cms enviroment, same database?
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: fails upload images with modules, server permissions n c
Well, it seems to work. Change permissions (777) to the 'uploads / news' folder and allows me r-w. I was convinced that this was related to changes php.ini, sorry, my ignorance ...thanks
I have not decided about the subdomain. They are very similar contents, maybe just a subdomain that redirects me to a section of the main site with a different template, and thus keep everything within a single cms
I have not decided about the subdomain. They are very similar contents, maybe just a subdomain that redirects me to a section of the main site with a different template, and thus keep everything within a single cms