Delete image - and data too



  • SVN 4548 Cloud 5754
    Fedora 23 Server

    The image & data delete appear to work - but it takes a long time and then it presents a white page.

    My apache logs are kinda not helpful right now because they are being spammed with mysql errors.

    [Wed Dec 16 07:53:57.910608 2015] [:error] [pid 5329] [client 10.2.3.32:50271] PHP Warning: mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40
    [Wed Dec 16 07:53:57.910637 2015] [:error] [pid 5329] [client 10.2.3.32:50271] PHP Warning: mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52
    [Wed Dec 16 07:53:57.912391 2015] [:error] [pid 5327] [client 10.2.3.91:50477] PHP Warning: mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40
    [Wed Dec 16 07:53:57.912421 2015] [:error] [pid 5327] [client 10.2.3.91:50477] PHP Warning: mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52
    

  • Senior Developer

    Finally, somebody who admits it was necessarily anything I did.

    LOL.

    All in all, I can try to figure out the information gathered in the logs, as those shouldn’t be visible at that point.



  • Correction - image data was not deleted.

    Upon closer inspection, I have incorrect permissions on the image I tried to delete.

    That likely goofed it up, it had drwxr-xr-x owner and group was root:root instead of fog:root

    So I think this was probably my fault.


 

542
Online

5.4k
Users

12.6k
Topics

118.7k
Posts