Changes

From SME Server
Jump to navigationJump to search
231 bytes removed ,  00:20, 25 April 2022
Line 234: Line 234:  
After that:
 
After that:
   −
  cd /etc/e-smith/templates-custom/etc/php.ini
+
  sed -i /etc/e-smith/templates-custom/etc/php.ini/30ErrorHandling -e 's/display_errors.*/display_errors          = On/g'
pico 30ErrorHandling
  −
 
  −
Modify the second line to read:
  −
 
  −
display_errors          = On
      
After that issue the following commands:
 
After that issue the following commands:
   −
  expand-template /etc/php.ini
+
  signal-event webapps-updates
 
  −
Depending on your server version use the proper command to restart your webbrowser.
  −
 
  −
SME Server 7 and newer:
  −
sv t httpd-e-smith
  −
 
  −
older releases:
  −
/etc/rc7.d/S86httpd-e-smith restart
        −
Now access your page again and see what the error is.
+
Now access your page again and see what the error is.  
    
====Undo Changes====
 
====Undo Changes====
 
If everything works you remove the 30ErrorHandling file from the /etc/e-smith/templates-custom/etc/php.ini folder and issue the last two lines again:
 
If everything works you remove the 30ErrorHandling file from the /etc/e-smith/templates-custom/etc/php.ini folder and issue the last two lines again:
   −
  expand-template /etc/php.ini
+
  signal-event webapps-update
/etc/rc7.d/S86httpd-e-smith restart
      
====Enable changes for a specific ibay====
 
====Enable changes for a specific ibay====
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu