2 general Questions. [Sorry about Subject]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: 2 general Questions. [Sorry about Subject]

Post by Nullig »

php_info();

Nullig
cosp
Forum Members
Forum Members
Posts: 24
Joined: Mon Mar 17, 2008 2:05 am

Re: 2 general Questions. [Sorry about Subject]

Post by cosp »

values returned by phpinfo differ, i have this in my config.php:

ini_set("memory_limit", "32M");
ini_set("upload_max_filesize", "10M");
ini_set("max_execution_time", "200");
ini_set("max_input_time", "200");
ini_set("post_max_size", "10M");
Pierre M.

Re: 2 general Questions. [Sorry about Subject]

Post by Pierre M. »

I'd rather a check on the webserver, say with some forged big static post "upload" independant of CMSms and PHP. That way it would be sure both installs runs on "the same webhost" (at least upload limit).

Pierre M.
cosp
Forum Members
Forum Members
Posts: 24
Joined: Mon Mar 17, 2008 2:05 am

Re: 2 general Questions. [Sorry about Subject]

Post by cosp »

sorry, can you please explain it in a little detail?

[EDIT]
is forum appearing as stupid, or have i got problem with my connection/browser?
Pierre M.

Re: 2 general Questions. [Sorry about Subject]

Post by Pierre M. »

I mean : try (with wget or similar) to POST or GET a BIG forged request (simulating an upload) to test any webserver upload limit filter.

Pierre M.
cosp
Forum Members
Forum Members
Posts: 24
Joined: Mon Mar 17, 2008 2:05 am

Re: 2 general Questions. [Sorry about Subject]

Post by cosp »

i am still getting this: "Could not write:&nbspLAMP_Workshop_2007_-_Introduction_to_Ubuntu.pdf -> /home/cosppk/public_html/uploads/LAMP_Workshop_2007/ Access Denied. Please check your permissions."

Host has 2MB size limit but i have overridden it by using php.ini in every folder, check http://www.cosp.org.pk/phpinfo.php

why am i getting this again?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: 2 general Questions. [Sorry about Subject]

Post by Ted »

The web server doesn't have permissions to write to that directory, most likely.  How did you create that directory that it's trying to write to?  Is it properly chmod'ed?
cosp
Forum Members
Forum Members
Posts: 24
Joined: Mon Mar 17, 2008 2:05 am

Re: 2 general Questions. [Sorry about Subject]

Post by cosp »

that directory was created by uploads module and is 777
Post Reply

Return to “CMSMS Core”