pH7Software/pH7-Social-Dating-CMS

Browse Users

Closed this issue ยท 7 comments

Describe the bug

Doesn't show all of the users when you browse uses in the admin panel

Attached is the screenshot of it
useradmin

@pH-7 I found out that its not showing the nav bar or the footer for this. I know you are busy. Hit me up when you have a chance so we can fix this.. I have been looking over the code for this but couldn't find that... I know when i do page view source it wont show all of the code it stops at login and wont show the nav part or the footer..

Looking forward to hear back from you on this..

+1 same issue here after clean version install. v17.9.1 stable download.
image

Refreshing page shows a different user each time - but only one user at a time.

Enabling developer mode outputs the following errors
image

PHP v8.1

Fatal error: Uncaught TypeError: PH7\Framework\Url\Url::encode(): Argument #1 ($sUrl) must be of type string, int given, called in /var/www/clients/client1/web7/web/_protectedsecure/framework/Layout/Html/Design.class.php on line 326 and defined in /var/www/clients/client1/web7/web/_protectedsecure/framework/Url/Url.class.php:29 Stack trace: #0 /var/www/clients/client1/web7/web/_protectedsecure/framework/Layout/Html/Design.class.php(326): PH7\Framework\Url\Url::encode() #1 /var/www/clients/client1/web7/web/_protectedsecure/data/cache/pH7tpl_compile/admin123_da8e79671268676c5445b24dee646dc0/base/user/browse.cpl.php(15): PH7\Framework\Layout\Html\Design->popupLinkConfirm() #2 /var/www/clients/client1/web7/web/_protectedsecure/framework/Layout/Tpl/Engine/PH7Tpl/PH7Tpl.class.php(353): require('...') #3 /var/www/clients/client1/web7/web/_protectedsecure/data/cache/pH7tpl_compile/public_main/base/layout.cpl.phplayout.cpl.php(15): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display() #4 /var/www/clients/client1/web7/web/_protectedsecure/framework/Layout/Tpl/Engine/PH7Tpl/PH7Tpl.class.php(353): require('...') #5 /var/www/clients/client1/web7/web/_protectedsecure/framework/Mvc/Controller/Controller.class.php(85): PH7\Framework\Layout\Tpl\Engine\PH7Tpl\PH7Tpl->display() #6 /var/www/clients/client1/web7/web/_protectedsecure/app/system/modules/admin123/controllers/UserController.php(92): PH7\Framework\Mvc\Controller\Controller->output() #7 [internal function]: PH7\UserController->browse() #8 /var/www/clients/client1/web7/web/_protectedsecure/framework/Mvc/Router/FrontController.class.php(656): ReflectionMethod->invokeArgs() #9 /var/www/clients/client1/web7/web/_protectedsecure/framework/Mvc/Router/FrontController.class.php(615): PH7\Framework\Mvc\Router\FrontController->runController() #10 /var/www/clients/client1/web7/web/_protectedsecure/app/Bootstrap.php(92): PH7\Framework\Mvc\Router\FrontController->runRouter() #11 /var/www/clients/client1/web7/web/index.php(45): PH7\Bootstrap->run() #12 {main} thrown in /var/www/clients/client1/web7/web/_protectedsecure/framework/Url/Url.class.php on line 29

@Mateable-com I found changing PHP from V8.1 down to V8.0 fixes the issue

Its crazy it works on 8.0 but not on 8.2 but the admin browse works just fine. there has to be away to take the admin one and make it work with the user one and modify it.. I am still trying to learn where all the files are at cause there are soooo many files.

pH-7 commented

Thanks very much for reporting this @Mateable-com! I really appreciate it. I gave a fix (available here 005fe06).

It will also be release in the next version of pH7Builder ๐Ÿ˜Š

pH-7 commented

Its crazy it works on 8.0 but not on 8.2 but the admin browse works just fine. there has to be away to take the admin one and make it work with the user one and modify it.. I am still trying to learn where all the files are at cause there are soooo many files.

@Mateable-com @paulfrancis556 Keep PHP 8.0 for now. That's absolutely fine too! ๐Ÿ™‚