Jump to content

Unable to upload images through two PHP CMS areas


Recommended Posts

Here is what I wrote to my hosting support:

 

"My client has e-mailed me reporting errors which have occured across two seperate PHP scripts involving the uploading of images.

 

He has previously uploaded images through two content management systems that I set up for him six months ago. He is now experiencing uploading errors with each CMS. Each CMS was fully tested and used by myself and my client.

 

The news CMS on attempt to upload an image provides the following error message:

 

Couldn't copy image to server

Check if file_uploads is allowed in the php.ini file of your server

 

Also with the photo gallery CMS, while I can create, edit and delete folders, upon clicking to upload a file, it shortly informs me that there were apparently 'No files to import!'.

 

This sudden inability to upload files via two completely different CMS' on the same server lead me to suspect it is something to do with the hosting."

 

Upon looking at the problems, they said that everything on their servers were fine, permissions for the folders of the images were fine. "It's probably something to do with the code."

 

I have no idea what it could be, I assumed it would be something to do with hosting changes or incorrect permissions on folders. I'm not very experienced with PHP and I have a client reguarly contacting me asking how soon it is going to be fixed.

 

 

PLEASE if anyone is happy to help me please let me know and I will message you. As this is a client web site with login details for the CMS I wish not to post them publicly.

Do you mean "safe-mode"? Assuming it was this, how would I turn it off?

 

I really find it hard to believe the coding is the problem for two reasons:

 

1). Both CMS' have been tested and used for the last six months with no problems.

2). I have used the news CMS script for some of my other web sites and the insert image feature works fine with them.

3). This particular client set up hosting himself and is not under the same hosting as what I usually use for my clients.

 

Despite this, his hosting provider tells me it's nothing on their end.

 

--

 

If you think it sounds like it's something to do with the hosting and not the code, please feel free to say so because I can't think of any logical reason as to why two seperate CMS sections hosted on the same site both are suddenly not allowing the uploading of images.

 

Thanks Gighalen for the suggestion :) What do you think based on what I've detailed above?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.