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
PHP version - 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: PHP version (/showthread.php?tid=827)

Pages: 1 2


PHP version - shoropio - 11-13-2017

I can not update to 4.3 by many factors. I can not make it work or the fresh facilities. Could you tell me which version of PHP runs 4.3?


PHP version - mudmin - 11-13-2017

It will potentially run on 5.5, but 5.6 is probably your best bet.

By the way, we have been fixing backwards compatibility for 4.3 so even if it didn't work in the past, it might work now.



PHP version - shoropio - 11-13-2017

Thank you very much mudmin, the version I am currently executing is 7.1.5. I will try the 5.6


PHP version - mudmin - 11-13-2017

Oh, it just has to be above 5.6...7.x is fine. If it doesn't work on 7 there is some other server config issue other than the php version.


PHP version - shoropio - 11-14-2017

I can not update:

performing query ' CREATE TABLE
Code:
settings
(
Code:
id
int(50) NOT NULL,
Code:
recaptcha
int(1) NOT NULL DEFAULT '0',
Code:
force_ssl
int(1) NOT NULL,
Code:
css_sample
int(1) NOT NULL,
Code:
us_css1
varchar(255) NOT NULL,
Code:
us_css2
varchar(255) NOT NULL,
Code:
us_css3
varchar(255) NOT NULL,
Code:
site_name
varchar(100) NOT NULL,
Code:
language
varchar(255) NOT NULL,
Code:
track_guest
int(1) NOT NULL,
Code:
site_offline
int(1) NOT NULL,
Code:
force_pr
int(1) NOT NULL,
Code:
glogin
int(1) NOT NULL DEFAULT '0',
Code:
fblogin
int(1) NOT NULL,
Code:
gid
varchar(255) NOT NULL,
Code:
gsecret
varchar(255) NOT NULL,
Code:
gredirect
varchar(255) NOT NULL,
Code:
ghome
varchar(255) NOT NULL,
Code:
fbid
varchar(255) NOT NULL,
Code:
fbsecret
varchar(255) NOT NULL,
Code:
fbcallback
varchar(255) NOT NULL,
Code:
graph_ver
varchar(255) NOT NULL,
Code:
finalredir
varchar(255) NOT NULL,
Code:
req_cap
int(1) NOT NULL,
Code:
req_num
int(1) NOT NULL,
Code:
min_pw
int(2) NOT NULL,
Code:
max_pw
int(3) NOT NULL,
Code:
min_un
int(2) NOT NULL,
Code:
max_un
int(3) NOT NULL,
Code:
messaging
int(1) NOT NULL,
Code:
snooping
int(1) NOT NULL,
Code:
echouser
int(11) NOT NULL,
Code:
wys
int(1) NOT NULL,
Code:
change_un
int(1) NOT NULL,
Code:
backup_dest
varchar(255) NOT NULL,
Code:
backup_source
varchar(255) NOT NULL,
Code:
backup_table
varchar(255) NOT NULL,
Code:
msg_notification
int(1) NOT NULL,
Code:
permission_restriction
int(1) NOT NULL,
Code:
auto_assign_un
int(1) NOT NULL DEFAULT,
Code:
page_permission_restriction
int(1) NOT NULL DEFAULT,
Code:
msg_blocked_users
int(1) NOT NULL DEFAULT,
Code:
msg_default_to
int(1) NOT NULL DEFAULT,
Code:
notifications
int(1) NOT NULL DEFAULT,
Code:
notif_daylimit
int(3) NOT NULL DEFAULT,
Code:
recap_public
varchar(100) NOT NULL,
Code:
recap_private
varchar(100) NOT NULL,
Code:
page_default_private
int(1) NOT NULL DEFAULT,
Code:
navigation_type
tinyint(1) NOT NULL DEFAULT,
Code:
copyright
varchar(255) NOT NULL DEFAULT,
Code:
custom_settings
int(1) NOT NULL DEFAULT,
Code:
system_announcement
varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ':

Error performing query ' INSERT INTO
Code:
settings
(
Code:
id
,
Code:
recaptcha
,
Code:
force_ssl
,
Code:
css_sample
,
Code:
us_css1
,
Code:
us_css2
,
Code:
us_css3
,
Code:
site_name
,
Code:
language
,
Code:
track_guest
,
Code:
site_offline
,
Code:
force_pr
,
Code:
glogin
,
Code:
fblogin
,
Code:
gid
,
Code:
gsecret
,
Code:
gredirect
,
Code:
ghome
,
Code:
fbid
,
Code:
fbsecret
,
Code:
fbcallback
,
Code:
graph_ver
,
Code:
finalredir
,
Code:
req_cap
,
Code:
req_num
,
Code:
min_pw
,
Code:
max_pw
,
Code:
min_un
,
Code:
max_un
,
Code:
messaging
,
Code:
snooping
,
Code:
echouser
,
Code:
wys
,
Code:
change_un
,
Code:
backup_dest
,
Code:
backup_source
,
Code:
backup_table
,
Code:
msg_notification
,
Code:
permission_restriction
,
Code:
auto_assign_un
,
Code:
page_permission_restriction
,
Code:
msg_blocked_users
,
Code:
msg_default_to
,
Code:
notifications
,
Code:
notif_daylimit
,
Code:
recap_public
,
Code:
recap_private
,
Code:
page_default_private
,
Code:
navigation_type
,
Code:
copyright
,
Code:
custom_settings
) VALUES (1, 1, 0, 0, '../users/css/color_schemes/bootstrap.min.css', '../users/css/sb-admin.css', '../users/css/custom.css', 'UserSpice', 'en', 1, 0, 0, 0, 0, '', '', '', '', '', '', '', '', '', 0, 0, 6, 30, 4, 30, 1, 1, 0, 1, 0, '/', 'everything', '', 0, 0, 0, 0, 0, 1, 0, 7, '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI', '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe', 1, 1, 'UserSpice', 1); ':

Error performing query ' ALTER TABLE
Code:
settings
ADD PRIMARY KEY (
Code:
id
); ':

Error performing query 'ALTER TABLE
Code:
settings
MODIFY
Code:
id
int(50) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; ':

Tables imported successfully
Entered your custom settings!


PHP version - shoropio - 11-14-2017

In clean installations I get the error above, but nevertheless it lets me move forward. When I visit my index.php it hits me: Fatal error: Class 'Config' not found in /storage/emulated/legacy/htdocs/users/init.php on line 53


PHP version - mudmin - 11-15-2017

Hmm. That is very weird, but very helpful. That's a strange place for things to stop working. It would be extremely helpful if you'd let us kind of use you as a test case to figure out what's up. Can you tell me a little bit more about your hosting provider/server config?

If you're having this problem, someone else is likely to also.

Just curious. Have you tried upgrading your existing 4.2 with the latest 4.3.2? I fixed a ton of compatibility issues on that release.


PHP version - shoropio - 11-16-2017

Hi, mudmin. The error that hits me is that the installer fails to import the data from the settings table. Try all the possible php and mysql versions. I would like you to do a clean installation and export the entire database for me.


PHP version - mudmin - 11-16-2017

Sure. I'd be happy to help.


PHP version - brasi - 11-16-2017


Hi Shoropio,

I had the same problem. My solution was to get the release from mudmin.screenshot
Here is the download link from this git version: https://github.com/mudmin/UserSpice43dev/archive/50e4b3d75d7a6b2bc166a3e40c438e6b658aaf6f.zip
I can be wrong, but the SQL from last push has some problems.