Not able to upload photos / Can't Submit after crop screen

When I go to upload an image either single or multiple in any area of site, including in designer, I get, "Oops! An error occurred with (photo) file: Error Occured. All PHP is good and no errors for such so I am sure I am missing an extension or something else. If you have a dedicated server with Centos and Cpanel, if you can share what you have done.  Nothing is showing in the error logs neither which is was my first go to.  When I check easyapache 2.5 and look under php extensions I get the following:  php73-php-gd  is installed. I used 7.3 on my shared hosting and site worked beautifully, just slow due to limitations, so I do no think its my php version.

An update. I am looking at error log and getting the following: ini_set() has been disabled for security reasons in /home/(website)/public_html/inc/classes/BxDolTemplate.php on line 10. Line 10 would be: ini_set('pcre.backtrack_limit', 1000000); This line would be correct in my case. I am wondering if this is linked to my disabling functions. It seems it is linked to my disabled functions. Can edit contents just not add media so it is not linking for me. I looked at main site php error log and getting following three errors: 

[12-Jun-2019 09:43:06 UTC] PHP Warning:  ini_set() has been disabled for security reasons in /home/(website)/public_html/studio/classes/BxDolStudioOAuthOAuth2.php on line 129
[12-Jun-2019 09:43:06 UTC] PHP Warning:  ini_set() has been disabled for security reasons in /home/(website)/public_html/studio/classes/BxDolStudioOAuthOAuth2.php on line 130
[12-Jun-2019 09:43:11 UTC] PHP Warning:  ini_set() has been disabled for security reasons in /home/(website)/public_html/inc/classes/BxDolTemplate.php on line 10

That Oauth sticks out to me and think I had this before and had to install soemthing when I used Dolphin in the past.

Sorry editing as I find stuff XD             ini_set('max_execution_time', $iTimeout);
            ini_set('memory_limit', '512M')
; would be those two lines. This is a new site though dont know how I could reach that memory limit. I changed the ini limit to 512 to see if that helps. Has not yet

New error on server reboot chmod() has been disabled for security reasons in /home/(website)/public_html/inc/classes/BxDolStorageLocal.php on line 96

                                                                                                                                                                                                                                                                                        Line 96-100 : if (!chmod ($sNewFilePath, BX_DOL_STORAGE_FILE_RIGHTS)) {
            unlink($sNewFilePath);
            $this->setErrorCode(BX_DOL_STORAGE_ERR_ENGINE_ADD);
            return false;

        }

If anyone has any ideas please let me know. I got to get ready for work. Right now all perms for the storage folder etc, is 755. FFMPEG is set to 777.

Fixed: Do not disable functions :) 

  • 474
  • More
Replies (1)
    •  figured this out :) It was the disable functions. I have sent Support an email to see what ones are supposed to be enabled and which ones are not. So at first I could not install due to not having options disabled and then I had a problem because I disabled those functions :/ 

      Login or Join to comment.