Errors upon installing AEF

Status
Not open for further replies.

pchopefs

New Member
Messages
24
Reaction score
1
Points
3
Hi, I just installed AEF. But at the top of the page, there's the following errors:
Code:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/pchopex1/public_html/azprivateforum.ml/aef/index.php on line 46

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/pchopex1/public_html/azprivateforum.ml/aef/main/functions.php on line 153

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/pchopex1/public_html/azprivateforum.ml/aef/main/functions.php on line 1776

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/pchopex1/public_html/azprivateforum.ml/aef/main/functions.php on line 153

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/pchopex1/public_html/azprivateforum.ml/aef/main/functions.php on line 153

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/pchopex1/public_html/azprivateforum.ml/aef/main/functions.php on line 153

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/pchopex1/public_html/azprivateforum.ml/aef/main/functions.php on line 153

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/pchopex1/public_html/azprivateforum.ml/aef/main/functions.php on line 1776

This ruins the user experience very much as it covers the top half of the page. Is there any way to fix this, or at least hide it?
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

You can specifically hide these deprecation warnings by changing the error reporting level, with PHP's error_reporting() function.

Alternatively, you can hide all errors from your website. To do this, please go to "Select PHP version" on your cPanel homepage, and then "Switch to PHP Settings". Then, change "display_errors" to "Off", and hit "Apply". Once you have made your changes, please click "Save". :)

Thank you,
 

caftpx10

Well-Known Member
Messages
1,534
Reaction score
114
Points
63
You'll need to add the following to the configuration file (or at least before the connection):
PHP:
error_reporting(E_ALL ^ E_DEPRECATED);
Dead-i popped up while I was typing this, haha. Anyway, you should try his second suggestion if you want it quick and easy.
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
I would really reconsider your forum software choice before things get populated if I were you. There does not appear to be any activity at all in the AEF development channel (nothing for three years), and large chunks of the software is in bad need of a major rewrite. Yes, it has a nice UI, but it already needs a PHP version downgrade to operate smoothly; it's going to stop working at all at some time in the not-to-distant future. It would be better if you used less-attractive but developer-supported software.

(If you're a programmer, that developer could be you - you're allowed to modify the AEF software for your own use. It doesn't look like they ever got around to releasing it under a license that would allow you to fork and redistribute, though; there's just a note from 2012 that says they were planning to maybe do that someday. I haven't checked their github repo, though - there may be a FOSS license there that isn't on their own web site.)
 

pchopefs

New Member
Messages
24
Reaction score
1
Points
3
I would really reconsider your forum software choice before things get populated if I were you. There does not appear to be any activity at all in the AEF development channel (nothing for three years), and large chunks of the software is in bad need of a major rewrite. Yes, it has a nice UI, but it already needs a PHP version downgrade to operate smoothly; it's going to stop working at all at some time in the not-to-distant future. It would be better if you used less-attractive but developer-supported software.

(If you're a programmer, that developer could be you - you're allowed to modify the AEF software for your own use. It doesn't look like they ever got around to releasing it under a license that would allow you to fork and redistribute, though; there's just a note from 2012 that says they were planning to maybe do that someday. I haven't checked their github repo, though - there may be a FOSS license there that isn't on their own web site.)

Yes, I know that and I plan to change forum software soon. Thanks for the insight though. It's also not my main forum, just a side forum to learn about stuff.
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
Just so you know, you know? A lot of people walk into this blind, with just a little bit they read in a 1997 edition of a For Dummies book.
 
Status
Not open for further replies.
Top