The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
update documentation abou US - 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: update documentation abou US (/showthread.php?tid=580) Pages:
1
2
|
update documentation abou US - mudmin - 06-01-2017 Ok. So because you're in the subfolder of app your first line needs to be <?php require_once '../users/init.php'; ?> Basically, since you are in app, you need to back up one folder ../ to get to root and then go forward to users/init.php update documentation abou US - marceloatmartins - 06-01-2017 Well, I moved my page register.php to 'users/' and the first line like this < ?php require_once 'init.php'; ?> I logged like admin and see ind "admin_pages" and my page appear there, ok. But when I call my page, logged or unlogged, the same HTTP ERROR 500 appear again. I'm using IIS 6 with Visual Studio 2015 Community with PHP Tools plug-in installed. Maybe I will try it with xampp. What do you think? I don't know what to do. Sorry. update documentation abou US - mudmin - 06-01-2017 I would absolutely try xampp first. Can you paste your register.php file on pastebin or hastebin and share the link here and I'll take a look. update documentation abou US - marceloatmartins - 06-01-2017 Hi mudmin, I'm really happy because under xampp it's works. Some errors appears like: Parse error: syntax error, unexpected 'as' (T_AS), expecting ',' or ')' in C:\xamppadm\htdocs\appreq\users\register.php on line 36 But it's ok, for now I will analyse this and go ahead. Under IIS , never more. Thank you |