Portal Home > Knowledgebase > Articles Database > "URLUpload" on image hosting script ceases to work after server change


"URLUpload" on image hosting script ceases to work after server change




Posted by Greedisgood, 11-01-2007, 09:18 PM
Hey there, I recently changed my small image hosting website to a dedicated server. My previous server was a cPanel. Current server is Directadmin. I've restored the database and files, however I've noticed that the URL upload (Where you input the URL to a image file, and the script grabs the image and reuploads on the server) doesn't seem to work. Half of the admin panel is distorted and missing half of the options. Does anybody have any idea why this is happening? Thanks

Posted by david510, 11-02-2007, 01:05 AM
Check the following. Inside php.ini file, it is set upload_tmp_dir = /tmp /tmp has 777 permission Check the apache error log to see any execution timeout error, if you find any increase the value max_execution_time in ph.ini file. Make sure you restart apache once you make changes in php.ini file.

Posted by Greedisgood, 11-02-2007, 01:19 AM
Thank you for your response David, I've checked that, and they're all correctly set. Anymore ideas?

Posted by david510, 11-02-2007, 01:31 AM
check register_globals is On

Posted by datums, 11-02-2007, 01:37 AM
smells like a php issue. What do the apache error logs say when you try loading one of the broken pages?

Posted by Greedisgood, 11-02-2007, 01:39 AM
Just turned it on, restarted Apache, still doesn't work Anything else? Appreciate your help David.

Posted by Greedisgood, 11-02-2007, 01:41 AM
I'm just getting these lines popping up (Probably from some other error) [Fri Nov 02 01:40:44 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml [Fri Nov 02 01:40:45 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml [Fri Nov 02 01:40:46 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml [Fri Nov 02 01:40:47 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml [Fri Nov 02 01:40:48 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml [Fri Nov 02 01:40:49 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml [Fri Nov 02 01:40:50 2007] [error] [client ::1] File does not exist: /var/www/html/400.shtml Would this be due to Directadmin? Other errors, is inside the Admin Control Panel, half of the index is missing. When I do the URL Upload, it just loads to a blank white page. Don't think Apache has any logs of that inside of the error log Thank you Datums.

Posted by david510, 11-02-2007, 01:51 AM
Has the domain started resolving from the DA server? It has the document root set to /home/username/public_html?

Posted by Greedisgood, 11-02-2007, 01:56 AM
I'm not too sure, where would I check that? Thank you David.

Posted by david510, 11-02-2007, 02:28 AM
Open the file /etc/httpd/conf/httpd.conf file and search for your domain in that file. Search the word yourdomain.com.

Posted by Greedisgood, 11-02-2007, 02:46 AM
This is the content:

Posted by toy_boy, 05-30-2008, 06:37 AM
Well i am facing the same situating i am 100% sure its because of httpd moudle because when all the moudles are loaded my script works fine but when some of them are not i face the same situating . The problem is I dont know the correct module to load on which url upload depends . Thanks in advance.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Mount Network HDD (Views: 471)