Error service unavailable - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Error service unavailable (/showthread.php?tid=70703) |
Error service unavailable - omid_student - 05-17-2018 Hi When i try upload file to server,occur error service unavailable When i comment upload file code,i dont see error "service unavailable" Why? RE: Error service unavailable - jreklund - 05-17-2018 Have you tried a smaller file? If it works change the limits. php.ini upload_max_filesize post_max_size PS. We don't own magic 8 balls, so we ALWAYS need code, settings and error logs. How are we supposed to give a correct answer based on that? RE: Error service unavailable - omid_student - 05-18-2018 (05-17-2018, 07:32 AM)jreklund Wrote: Have you tried a smaller file? If it works change the limits. Yes you are right but my code is big and cannot publish here Can i change this flag in .htaccess file? Actually i think there is error in my code but codeigniter not show it and only show error unavailable The part of my code PHP Code: if (!validate_string($text, CONS_MAX_LENGTH_TEXT)) RE: Error service unavailable - InsiteFX - 05-18-2018 PHP Code: $this->db->trans_start(); See if the transaction's are giving you the error. Usually that error means that the web server is unavailable... RE: Error service unavailable - omid_student - 05-19-2018 (05-18-2018, 03:20 AM)InsiteFX Wrote: OK let me to try it |