Solved : Uploading Images goes to image folder but not to MySQL image table
  • Strange problem,

    Using the file media, i upload images just fine (i can confirm that exists inside the /images folder) but there is no entry in the images table inside the MySql database. What the heck is going on here ? Any help ?

    Under xampp/win7 you have to disable temporarly in the Image.php file (C:\xampp\htdocs\newscoop402\classes\Image.php) chmod function that works only under linux environments. You have to revert back them when you deploy your website in a public server.

    So do this, find the following function and just comment it.

        private static function chmod($path, $mode)
        {
           /*
            if (posix_getuid() === fileowner($path)) {
                chmod($path, $mode);
            }
            */

        }

    Oh, men, I spent more time debuging newscoop framework than developing my application !!!





    Post edited by sdancer75 at 2012-12-02 14:49:10