When uploading file, browser "loads" forever

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.
Locked
jwaldeck

When uploading file, browser "loads" forever

Post by jwaldeck »

Hello Guys,

I've never had this problem before with CMSMS and really don't know what to do.

The problem: if I want to upload any file larger than 1Mb the browser keeps "thinking" forever and never shows me a OK message or even an error message. It just keeps "loading" forever, as it's busy, but nothing happens.

Just change all my PHP.INI files (the site's on a VPS) but that didn't solve the problem.

Form the "System Information tab":

Code: Select all


File uploads (file_uploads):

 On (True) Success

Maximum Post Size (post_max_size):

 10M Success

Maximum Upload Size (upload_max_filesize):

 12M Success

Basic XML (expat) support (xml_function):

 On (True) Success

Test file_get_contents (file_get_contents):

 On (True) Success

Test ini_set (check_ini_set):

 On (True) Success
Does anyone have a clue what could be happening?

Tks!
jw
jwaldeck

Re: When uploading file, browser "loads" forever

Post by jwaldeck »

Guys, I'm aware that this might not be a CMSMS issue. Anyone has a clue what this could be?

Using CMSMS 1.6.6.

When uploading files larger than 1Mb the backend loads, loads, loads and nothing happens. Nor the file is uploaded nor the system gives me any error....

Would that be any server issue? PHP.INI configuration?

Thank you!
jw
replytomk3

Re: When uploading file, browser "loads" forever

Post by replytomk3 »

In config.php, increase memory limit to 32M just in case.

Use FTP instead?
jwaldeck

Re: When uploading file, browser "loads" forever

Post by jwaldeck »

Config.php already has 10Mb, besides it's not giving me an error, just loading forever. If it were a memory limit the system would "tell me"...

FTP is a temporary solution, but doesn't help since those files have to be manageable by the client through the backend itself (also using the uploads module, with doesn't work well with FTP).

Crazy thing...
Tks.
replytomk3

Re: When uploading file, browser "loads" forever

Post by replytomk3 »

In config.php, increase the limit to 32M. The system won't "tell you"
jwaldeck

Re: When uploading file, browser "loads" forever

Post by jwaldeck »

Changed it to 32Mb, same problem. Loading over and over! :(

Magic quotes in runtime (magic_quotes_runtime):

Code: Select all



File uploads (file_uploads):

 On (True) Success

Maximum Post Size (post_max_size):

 10M Success

Maximum Upload Size (upload_max_filesize):

 32M Success

Basic XML (expat) support (xml_function):

 On (True) Success

jwaldeck

Re: When uploading file, browser "loads" forever

Post by jwaldeck »

Someone:

I contacted my Host and everything seems to be normal.

Any idea how I can get a complete error message, instead of just "blabla.JPG failed to upload successfully"??

Tks
replytomk3

Re: When uploading file, browser "loads" forever

Post by replytomk3 »

debug mode
jwaldeck

Re: When uploading file, browser "loads" forever

Post by jwaldeck »

Strange, debug mode doesn't bring me anything new as well... Any other way of seeing raw PHP errors??

Code: Select all

Debug is on. Redirecting disabled... Please click this link to continue.
http://www.blabla.com/admin/moduleinterface.php?mact=FileManager,m1_,defaultadmin,0&sp_=d14e42f3&m1_path=%2Fuploads&m1_module_message=&m1_module_error=%3Cspan%20class%3D%27fm-messages%27%3EDSC03632.JPG%20failed%20to%20upload%20successfully%3C%2Fspan%3E%0A
Debug: (1.4999999999999E-5) - (582384)

loading smarty

Debug: (0.004875) - (853884)

loading adodb

Debug: (0.007196) - (937236)

loading page functions

Debug: (0.010678) - (1112300)

loading content functions

Debug: (0.013823) - (1310224)

loading pageinfo functions

Debug: (0.014852) - (1343032)

loading translation functions

Debug: (0.015627) - (1360264)

loading events functions

Debug: (0.017624) - (1443156)

loading php4 entity decode functions

Debug: (0.019918) - (1646004)

done loading files

Debug: (0.034492) - (2323636)

<br>
(mysql): SET NAMES 'utf8'<br>
 Error (0): <br>

Debug: (0.03492) - (2339456)

<br>
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs<br>
 Error (0): <br>

Debug: (0.040796) - (2437704)

<br>
(mysql): SELECT * FROM cms_userplugins<br>
 Error (0): <br>

Debug: (0.084729) - (3075252)

<br>
(mysql): SELECT * FROM cms_modules WHERE active = 1 ORDER by module_name<br>
 Error (0): <br>

Debug: (0.088838) - (3301064)

<br>
(mysql): SELECT event_id FROM cms_events WHERE 
    originator = 'Core' AND event_name = 'ContentPreCompile'<br>
 Error (0): <br>

Debug: (0.089063) - (3302724)

<br>
(mysql): SELECT * FROM cms_event_handlers WHERE
    event_id = '51' AND module_name = 'babel'<br>
 Error (0): <br>

Debug display of 'End of include':(0.231462) - (8188420)
Debug: (0.231556) - (8146444)

Session found.  Moving on...

Debug: (0.231618) - (8146588)

Session found.  Moving on...

Debug: (0.231873) - (8148208)

<br>
(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '2'<br>
 Error (0): <br>

Debug: (0.24011) - (8579048)

Session found.  Moving on...

Debug: (0.240176) - (8579452)

Session found.  Moving on...

Debug: (0.242322) - (8683696)

Session found.  Moving on...

Debug: (0.244712) - (8758480)

<br>
(mysql): SELECT ug.user_id FROM cms_user_groups ug
                     WHERE ug.user_id = '2' AND ug.group_id = 1<br>
 Error (0): <br>

Debug: (0.24497) - (8761124)

<br>
(mysql): SELECT DISTINCT permission_name FROM cms_user_groups ug INNER JOIN cms_group_perms gp ON gp.group_id = ug.group_id INNER JOIN cms_permissions p ON p.permission_id = gp.permission_id INNER JOIN cms_groups gr ON gr.group_id = ug.group_id WHERE ug.user_id = '2' AND gr.active = 1<br>
 Error (0): <br>

Debug: (0.245419) - (8764740)

Session found.  Moving on...

Debug: (0.245745) - (8770340)

Session found.  Moving on...

Debug: (0.249754) - (8785296)

Session found.  Moving on...

Debug: (0.250088) - (8785352)

Session found.  Moving on...

Debug: (0.254065) - (8801252)

Session found.  Moving on...

Debug: (0.258899) - (8850184)

Session found.  Moving on...

Debug: (0.263022) - (8863384)

Session found.  Moving on...

Debug: (0.263485) - (8866848)

Session found.  Moving on...

Debug: (0.263862) - (8866948)

Session found.  Moving on...

Debug: (0.264185) - (8867324)

Session found.  Moving on...

Debug: (0.26449) - (8867900)

Session found.  Moving on...

Debug: (0.272575) - (8903808)

Session found.  Moving on...

Debug: (0.273075) - (8906744)

Session found.  Moving on...

Debug: (0.273399) - (8907132)

Session found.  Moving on...

Debug: (0.273719) - (8907564)

Session found.  Moving on...

Debug: (0.27737) - (8914120)

Session found.  Moving on...

Debug: (0.283667) - (9010416)

<br>
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id = '2'<br>
 Error (0): <br>

Debug: (0.283887) - (9012168)

<br>
(mysql): SELECT group_id FROM cms_user_groups WHERE user_id = '2'<br>
 Error (0): <br>

Debug: (0.284089) - (9012656)

<br>
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id IN (-1)<br>
 Error (0): <br>

Debug: (0.284325) - (9012984)

<br>
(mysql): SELECT content_id FROM cms_content WHERE owner_id = '2'<br>
 Error (0): <br>

Debug: (0.284524) - (9013432)

<br>
(mysql): SELECT user_id,content_id FROM cms_additional_users<br>
 Error (0): <br>

Debug: (0.291664) - (9114056)

Session found.  Moving on...

Debug: (0.292227) - (9115216)

<br>
(mysql): SELECT count(news_id) FROM cms_module_news n
                   WHERE status != 'published'
                     AND (( IFNULL(end_time, '1969-12-31 19:00:01')  = '1969-12-31 19:00:01') OR (end_time > '2009-11-25 17:22:26')) <br>
 Error (0): <br>

Debug: (0.292993) - (9115128)

<br>
(mysql): SELECT version from cms_version<br>
 Error (0): <br>

Debug: (0.294984) - (9145844)

<br>
(mysql): SELECT bookmark_id, user_id, title, url FROM cms_admin_bookmarks WHERE user_id = '2' ORDER BY title<br>
 Error (0): <br>

Debug: (0.305821) - (9195040)

Session found.  Moving on...

Debug: (0.305982) - (9200824)

Session found.  Moving on...
replytomk3

Re: When uploading file, browser "loads" forever

Post by replytomk3 »

You can set up a limited rights ftp account pointing to just the /uploads folder.
Locked

Return to “CMSMS Core”