The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(287) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/printthread.php(287) : eval()'d code 2 errorHandler->error
/printthread.php 287 eval
/printthread.php 117 printthread_multipage



UserSpice
us_helpers.php undefined varible - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: us_helpers.php undefined varible (/showthread.php?tid=607)

Pages: 1 2 3 4 5


us_helpers.php undefined varible - mudmin - 08-28-2017

I'd be interested. I feel like the z-root thing has worked really well across a lot of server types, but I'm willing to give that a shot.


us_helpers.php undefined varible - Brandin - 08-29-2017

I was unsuccessful to get this to work - z-root seems like a better option, less chances of breaking.


us_helpers.php undefined varible - yoyo - 09-29-2017

I had this error this morning. I found that the problem is that the variable $row is not initialized outside the for each loop.
This problem kicks in , as already mentioned by someone, when the directory is empty.

if I initialize the variable $row then an empty value is returned and somewhere else things are going wrong. All file names in the database are messed up then.

I also wasn't able to run the admin maintenance page (because that also had disappeared)

I had to find the initial SQL code in the init-files and run that in phpMyAdmin to restore it.
The quick workaround is to copy a dummy php file in all directorys.

I did not dive into it any further because I was making an menu maintenance program for US and wanted to complete it.

btw. I have implemented an nice menu-edit function and I'll make a remark about it on the proper topic



us_helpers.php undefined varible - mudmin - 09-29-2017

Which function are you looking at?

I'm definitely interested in any ideas you have for menus. We're working on db driven menus as an option for the next release).