Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Guest RSS-Bot

Важное с Sysman.Ru: Изменить страницу с SQL ошибкой

Recommended Posts

Guest RSS-Bot

Song:

Вы можете изменить стандартную страницу, на которой форум выдаёт SQL ошибку под свой дизайн форума.

 

Страница формируется в:

 

1.x:

Цитата (sources/Drivers/mysql.php)
    [color=green]/*========================================================================*/[/color]    [color=green]// Basic error handler[/color]    [color=green]/*========================================================================*/[/color]        [b]function[/b] fatal_error([color=#048284]$the_error[/color]) {

 

2.1.x:

Цитата (ips_kernel/class_db.php)
    [color=green]/*-------------------------------------------------------------------------*/[/color]    [color=green]// Basic error handler[/color]    [color=green]/*-------------------------------------------------------------------------*/[/color]        [color=green]/**    * Prints SQL error message    *    * @param    string    Additional error message    *    * @return    integer    Optional, if var $return_die is set to 1    */[/color]        [b]function[/b] fatal_error([color=#048284]$the_error[/color]="")    {        [color=green]// Are we simply returning the error?[/color]

Share this post


Link to post
Share on other sites
Guest RSS-Bot

Song:

Вы можете изменить стандартную страницу c ошибкой базы данных MySQL (IPS Driver Error) под свой дизайн форума.

 

Страница формируется в следующей функции:

 

1.x:

Цитата (sources/Drivers/mysql.php)
    [color=green]/*========================================================================*/[/color]    [color=green]// Basic error handler[/color]    [color=green]/*========================================================================*/[/color]        [b]function[/b] fatal_error([color=#048284]$the_error[/color]) {

 

2.1.x:

Цитата (ips_kernel/class_db.php)
    [color=green]/*-------------------------------------------------------------------------*/[/color]    [color=green]// Basic error handler[/color]    [color=green]/*-------------------------------------------------------------------------*/[/color]        [color=green]/**    * Prints SQL error message    *    * @param    string    Additional error message    *    * @return    integer    Optional, if var $return_die is set to 1    */[/color]        [b]function[/b] fatal_error([color=#048284]$the_error[/color]="")    {        [color=green]// Are we simply returning the error?[/color]

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...