Notifications
Clear all

Errors in new installation of efiction 3.5.5

7 Posts
5 Users
0 Reactions
2,309 Views
ShiKahr
(@shikahr)
Posts: 60
Trusted Member
Topic starter
 

I tried to install eFiction 3.5.5 on my localhost, what threw errors.
Now I tried to install it onto my website-host, but again ... errors. Different than with the local installation but anyway errors and I can't finish the installation.


Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; TemplatePowerParser has a deprecated constructor in /home/u997666257/public_html/efic/includes/class.TemplatePower.inc.php on line 38

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; TemplatePower has a deprecated constructor in /home/u997666257/public_html/efic/includes/class.TemplatePower.inc.php on line 451

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/u997666257/public_html/efic/install/install.php:903 Stack trace: #0 {main} thrown in /home/u997666257/public_html/efic/install/install.php on line 903

What do I do wrong?


Get your Arsch out of the couch." Gayle Tufts

 
Posted : 24/09/2016 12:08 pm
(@muhkuh)
Posts: 27
Eminent Member
 

The first two lines are warnings about future changes on PHP, you can actually ignore these for now though it might become a problem once PHP is being updated on the server.

The third line though shows off a real problem for now.
Are you sure MySQL is enabled with your webhosting package?
You can check with the folowing code if MySQL is enabled at all.

Simply save the following inside a PHP file like "phpinfo.php" and reach it via your favorite browser:

<?php
    phpinfo();
?>

 
Posted : 24/09/2016 6:13 pm
(@sheepcontrol)
Posts: 332
Reputable Member
 

The first two have been fixed in an updated template class.
The third I just fixed.

Download the latest eFiction 3 from here: https://github.com/eFiction/v3_stable


 
Posted : 25/09/2016 8:22 am
ShiKahr
(@shikahr)
Posts: 60
Trusted Member
Topic starter
 

Thank you, I will try it immediately.
I let you know if it helped.


Get your Arsch out of the couch." Gayle Tufts

 
Posted : 29/09/2016 10:22 am
(@dd92771)
Posts: 11
Active Member
 

This is appearing again  Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; TemplatePower has a deprecated constructor

I just moved my site back to my old host, even though I hate their pricing they are much easier to work with than Nexcess.  When I moved it, that is what I got


 
Posted : 19/11/2017 8:14 pm
(@marcy)
Posts: 71
Trusted Member
 

Currently getting this updated the file with the current V# stable version but nothing changed.

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; TemplatePower has a deprecated constructor in /fiction/includes/class.TemplatePower.inc.php on line 387


 
Posted : 23/06/2019 10:35 am
ShiKahr
(@shikahr)
Posts: 60
Trusted Member
Topic starter
 

I got it to work.
But I have some new errors now. See attached. These errors come only on the main page. If I go to a story or settings, it's fine.
I have PHP 5.6.40. Should actually work, since on my webspace there was 5.6.40 as well and it worked fine.
Any idea?


Get your Arsch out of the couch." Gayle Tufts

 
Posted : 19/08/2019 5:20 pm
Share: