Jump to content

Problems uploading files after moving to production server.


elmr
 Share

Recommended Posts

Hi,

I'm having problems with uploading files after moving PW to another server. Everything works well on one server, but on the other when I try to upload any file (image/text file etc.) the progress bar goes to 100% and nothing happens (no thumbnail is being created, no description field shows up).

I'm sure that all permissions are ok also $config->debug = true and logs/error.txt doesn't show any errors. Safe mode is off. Also was trying with code from another topic :

<?php
error_reporting(E_ALL); 
ini_set("display_errors", 1); 
$target = "./site/assets/files/1/test.php";
copy("./test.php", $target); 
if(is_file($target)) {
    echo "\nfile was copied";
    unlink($target); 
} else {
    echo "\nfile was not copied -- what error message did you get?";
}

and it was successfull ("file was copied").

Do you have any other idea how could I debug the problem ?

Thanks,

Elmr

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...