Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2004
Posts: 8
Lurker
Lurker
Offline
Joined: Mar 2004
Posts: 8
Today I encountered an issue where a user tried to upload a 1.18MB powerpoint file to a post. When the user clicks the "Ok, Submit" button, the browser immedietly (within less than a second) goes to an error "The page cannot be displayed" screen.

I've increased the attach file size to 100000000 bytes so the system should allow the file to be added. I can upload smaller PPT files so the format is accepted. Note: from some testing I did, it seems like 500K is the magic size barrier for any uploads. If I in config.inc I set my maximum upload size to something really small (e.g. 5 bytes) and try to upload a file less than 500K I get the expected UBB error message saying the file is too large and to try again. If I then try to upload a file larger than 500K I get the strange "The page cannot be displayed" browser error.

I'm not sure what's going on, but if anyone has any thoughts, I'd appreciate it.

I changed my php.ini file as follows and rebooted by computer.
max_execution_time now at 3000 seconds
post_max_size now at 100M
upload_max_filesize at 100M

Someone on another forum suggested adjusting my upload size in my.cnf, but I'm not sure where that goes> The file is as follows:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

[mysql.server]
user=mysql
basedir=/var/lib

[safe_mysqld]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

Finally, I'm running 6.4.1. The site is behind a firewall so unfortunatly you won't be able to see the error.

I'd appreciate any help suggestions. This is pretty frustrating.

Sponsored Links
Entire Thread
Subject Posted By Posted
large file attachment not working medic 05/12/2004 10:40 PM
Re: large file attachment not working ericgtr 05/12/2004 10:47 PM
Re: large file attachment not working little_joe 05/13/2004 3:06 PM
Re: large file attachment not working medic 05/14/2004 7:44 PM
Re: large file attachment not working Charles Capps 05/14/2004 8:54 PM
Re: large file attachment not working medic 05/17/2004 7:49 PM
Re: large file attachment not working medic 05/19/2004 11:07 PM
Re: large file attachment not working Charles Capps 05/24/2004 7:33 PM
Re: large file attachment not working medic 05/26/2004 6:36 PM
Re: large file attachment not working Charles Capps 05/26/2004 10:08 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 808
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)