12-12-2016, 02:42 AM
yeah, I done that and the error continues
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 Beta Released - Final Version is coming soon
|
12-12-2016, 02:42 AM
yeah, I done that and the error continues
12-12-2016, 02:44 AM
Maybe refresh your cache or something because if you read the error, it says its trying to access the include with the backspace at the beginning:
[Sun Dec 11 22:23:01.401006 2016] [:error] [pid 4408:tid 1652] [client ::1:49483] PHP Fatal error: require_once(): Failed opening required '/src/Facebook/autoload.php' (include_path='C:\\xampp\\php\\PEAR') in C:\\xampp\\htdocs\\UserSpice42\\users\\includes\\facebook_oauth.php on line 51, referer: http://localhost//userspice42/index.php
12-13-2016, 01:45 AM
well i was checking more carefully the error and i discover something very peculiar... the name of the directory that i used is
Code: USERSPICE42 Code: USERSPICE
12-13-2016, 04:22 AM
I will definitely fix the bugs. That actually came from me posting an older version of the file.
The error from that / will only show up on some server configs. Thanks for sending me the fix @marcchoover @inugami - Those paths come from one of 2 places. Either you don't have the 42 in your settings in the admin panel or you don't have them in your url that you setup on facebook's oauth site. I'm guessing it's a bad path in the userspice admin panel because I think I used userspice as the default.
01-26-2017, 11:11 PM
Something is wrong with user_settings.php. At the bottom of the page I get...
01-26-2017, 11:21 PM
I'm not using any of the oauth login features.
error in user_settings.php
01-26-2017, 11:28 PM
Fixed by changing line 278 to:
Code: if(isset($user->data()->oauth_provider) && $user->data()->oauth_provider != null){
01-26-2017, 11:35 PM
Lets get 4.2 onto github.
01-29-2017, 12:55 PM
On my
Code: user_settings.php Notice: Undefined property: stdClass::$oauth_provider in /home/aircentralized/public_html/boss/users/user_settings.php on line 278
02-04-2017, 09:59 AM
Hi,
I been looking at ways to improve some stated issue as for PSR-4 by using composer, I would to suggest this composer.json file on the root DIR <pre> Code: { that will handly all classes and helpers using the composer command Code: composer dump-autoload -o with that a vendor folder will be created on the root DIR - then after that all we will need to include on the Code: init.php <pre> Code: // Load Composer's PSR-4 autoloader cleaning it up from all the require_once list of files I hope this helps the new updates Regards |