Error message started to occur

5 posts by 2 authors in: Forums > CMS Builder
Last Post: August 1, 2018   (RSS)

By CommonSenseDesign - July 30, 2018

Hi, All.

The following error message has started to occur when trying to upload an image to a section of my client's site:

Warning:chmod() has been disabled for security reasons in /var/www/vhosts/nithvalley.com/httpdocs/cmsAdmin/lib/upload_functions.php on line 481 Error changing permissions on '/var/www/vhosts/nithvalley.com/httpdocs/cmsAdmin/data/temp/thumb_UgboNq'! chmod() has been disabled for security reasons

Also, a textbox has disappeared! (See "Brief description" in attached screenshot.)

This is an established site that's using CMSB v3.07.

Anyone know a solution, please?

Attachments:

cms-builder.jpg 145K

By daniel - July 30, 2018

Hi CommonSenseDesign,

I have a couple questions to help diagnose the issues you're experiencing:

  1. When encountering the chmod() error, does the image upload still complete? Or are you prevented entirely from uploading?
  2. Do any errors show in the developer console on the page with the missing text box? To check: navigate to the page in question, press F12 to open the browser developer tools, select the "Console" tab, and then reload the page.

Additionally, the screenshot is helpful, but I would suggest either removing the attachment or re-uploading it with the CMS URL and any visible usernames obfuscated. Making such information public could pose a security risk.

Thanks,

Daniel
Technical Lead
interactivetools.com

By CommonSenseDesign - July 30, 2018

Hi, Daniel.

  1. When encountering the chmod() error, does the image upload still complete? Or are you prevented entirely from uploading?
    I'm unable to upload any images. The error message appears when I click the "Upload" button, so I don't even see "Save".
     
  2. Do any errors show in the developer console on the page with the missing text box? To check: navigate to the page in question, press F12 to open the browser developer tools, select the "Console" tab, and then reload the page.
    I've attached a screengrab of what I see when I do what you suggested.

Cheers,

Nigel

Attachments:

cmsb-error-message.png 151K

By CommonSenseDesign - August 1, 2018

Thanks for this, Daniel. My client is checking with their hosting firm. I haven't worked on this site for more than a year, so you're probably right about some kind of server changes. There's no other reason I can think of that would cause the software to suddenly stop working properly.