Cannot upload the image in infinityfree server but it works in localhost

maybe ask for support on the forum of Codeigniter?

That makes two of us. All I know is that your code is doing this. As to why, you’re not going to find the answer here.


Maybe you put a localhost URL in your code somewhere and not your website URL?

I had this issue when I made a audio sharing website like Soundcloud back in the day and it tried fetching audio from and not the actual website URL. (and it’s not hosted on InfinityFree due to the Terms of Service)


It’s ok, I already fixed my answer. Thank you all.

1 Like

if you have fixed the issue it might be a good idea to post what the cause was and what the fix is in case others try to use the same script and run into the same problems


1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.