The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RESOLVED: I think I broke users/admin_pages.php
#1
firt it started giving no response/e blank page

now it gives "500 Internal Server Error"
other admin pages ok
Any idea how to debug?

I am not sure if I tried to run "backup proect" bfore issue - backup does no apparent action
there is no error_log file created
==============
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@aamdmel.com to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
  Reply
#2
ah, so there is an error_log in the /users/ folder - 40 MB!
  Reply
#3
RESOLVED I think
z_us_root.php somehow got deleted
error_log - about a million copies of:

[26-Feb-2018 21:26:22 Africa/Cairo] PHP Warning: feof() expects parameter 1 to be resource, boolean given in /home/uykg22pvt0en/public_html/users/admin_pagesmk1.php on line 32
[26-Feb-2018 21:26:22 Africa/Cairo] PHP Warning: fgets() expects parameter 1 to be resource, boolean given in /home/uykg22pvt0en/public_html/users/admin_pagesmk1.php on line 33

so issue is in

$file = fopen($abs_us_root.$us_url_root."z_us_root.php","r");
while(!feof($file)){
$currentLine=str_replace(" ", "", fgets($file));
if (substr($currentLine,0,5)=='$path'){
//echo $currentLine;
//if here, then it found the line starting with $path so break to preserve $currentLine value
break;
}
}
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)