CodeIgniter Forums
Uploadify and relative references - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Uploadify and relative references (/showthread.php?tid=38859)



Uploadify and relative references - El Forum - 02-21-2011

[eluser]bertcarremans[/eluser]
Hi,

I am using Uploadify on my website and everything works fine on my localhost. However, when using it on a remote server I get HTTP 500 errors when I want to upload images.

After reading the forums of Uploadify I found that Uploadify needs a relative reference to the upload script. In my code I have the following

Code:
... some code here ...
    echo " 'script'         : '" . base_url() . "js/uploadify.php',";
    ... some other code here ...

and my base_url is defined as http://www.example.com/

I tried relative references, but unfortunately this does not work. Does anyone have an idea how to fix this?

Thanks!


Uploadify and relative references - El Forum - 02-21-2011

[eluser]Herus[/eluser]
I got the same problem here.


Uploadify and relative references - El Forum - 02-23-2011

[eluser]Unknown[/eluser]
Why do you use http://www.example.com/ on a remote server?


Uploadify and relative references - El Forum - 03-01-2011

[eluser]Vinz[/eluser]
You don't think it's a memory problem ? Somtimes you can get an error 500 if the memory exceeds

If your hoster allow that, may be try : ini_set("memory_limit","16M");