Advertisement:

Author Topic: Cant Upload Pics in Ads after migration  (Read 675 times)

jonnysupersonic

  • Newbie
  • *
  • Posts: 9
Cant Upload Pics in Ads after migration
« on: May 15, 2016, 05:38:38 pm »
Hi Forum

I recently moved OSClass to a brand new VPS and also upgraded version from 3.5x to 3.6.1

When I tested I noticed an error when uploading pictures. I made some changes to Php and now ads can be submitted without error but the pictures are not really there. When I look at the file structure via SSH I dont see the uploads coming in.

What could the problem be?

When I moved from my old server, I just expoerted the entire CPanel account, and re-imported so I assumed that all file permissions would be preserved.

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Cant Upload Pics in Ads after migration
« Reply #1 on: May 15, 2016, 07:39:39 pm »
Enable PHP Debug to see what is happening : https://doc.osclass.org/Debug_PHP_errors
Check that the folders have the correct permissions and are writable

osCanyon

  • Hero Member
  • *****
  • Posts: 701
  • osCanyon, the class of Osclass
Re: Cant Upload Pics in Ads after migration
« Reply #2 on: May 29, 2016, 01:12:14 am »
even if it were cpanel to cpanel  should have kept all settings But your nameservers most likely changed and will need time to propagate
as Daniel said, add the debug to the config file to help resolve issues
at bottom od config just add these two lines, will create a debug.log in the oc-content folder
define('OSC_DEBUG', true) ;
define('OSC_DEBUG_LOG', true) ;

Hi Forum

I recently moved OSClass to a brand new VPS and also upgraded version from 3.5x to 3.6.1

When I tested I noticed an error when uploading pictures. I made some changes to Php and now ads can be submitted without error but the pictures are not really there. When I look at the file structure via SSH I dont see the uploads coming in.

What could the problem be?

When I moved from my old server, I just expoerted the entire CPanel account, and re-imported so I assumed that all file permissions would be preserved.