The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
4.2.6 Installation Issues - 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: 4.2.6 Installation Issues (/showthread.php?tid=558) |
4.2.6 Installation Issues - faguss - 05-08-2017
I'd like to have some information displayed about this because I didn't know what that meant. After some digging I found out that allow_url_fopen is disabled by my host for security reasons. However, there's CURL so I took a function from here: <pre> Code: function url_get_contents ($Url) { And added it to recaptcha.config.php: Code: $response = url_get_contents($path . $req); and to check_updates.php: Code: $remoteVersion=trim(url_get_contents(REMOTE_VERSION)); I find it inconvenient that replacing by usersc requires dependent files so I needed to copy all these: check_updates.php init.php includes/user_spice_ver.php includes/recaptcha.config.php login.php Also added page permission for usersc/check_updates.php in the Admin Dashboard. Could you automatically detect CURL during installation and use it in place of file_get_contents?
I replaced utf8mb4 with utf8 in the installation sql.
Timezone is reverted to the first option when you press "Test Settings" button.
My copyright message has an apostrophe. Please add slashes to the user input. 4.2.6 Installation Issues - mudmin - 05-09-2017 THANK YOU so much for the detailed post. You can definitely change the paths back to the dependent files when you copy something over to usersc. Great feedback on the timezone and the copyright. I'm adding that to my "to fix" list. It's crazy busy around here right now, but I will definitely get it. Would you mind telling me about your hosting provider/server? We haven't had many issues with the utf or the fopen. 4.2.6 Installation Issues - faguss - 05-09-2017 Anything specific? PHP Version 5.6.21 Directive:allow_url_fopen Local Value:Off Master Value:Off Software: MySQL Software version: 5.0.91-log - MySQL Community Server (GPL) Protocol version: 10 Server charset: UTF-8 Unicode (utf8) 4.2.6 Installation Issues - mudmin - 05-10-2017 That's a pretty old version of mysql and probably explains a lot of your problems. It was released in 2010. |