4images Issues / Ausgaben > Installation, Update & Configuration

Php 7 problem so any other software?

<< < (2/2)

Sunny C.:
Open your index.php

Search <?php
add after
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
Open your Site

viper357:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/reefclip/public_html/includes/db_mysql.php:37 Stack trace: #0 /home/reefclip/public_html/global.php(400): Db->__construct('localhost', 'reefclip_image', '*****', 'reefclip_image') #1 /home/reefclip/public_html/index.php(33): include('/home/reefclip/...') #2 {main} thrown in /home/reefclip/public_html/includes/db_mysql.php on line 37

Sunny C.:
This is due to the db_mysql.php file.
In the appendix you can find the right one.
Replace your includes/db_mysql.php with the one from my attachment.

viper357:

--- Quote from: Sumale.my on September 09, 2019, 06:32:08 PM ---This is due to the db_mysql.php file.
In the appendix you can find the right one.
Replace your includes/db_mysql.php with the one from my attachment.

--- End quote ---
It is working now, thank you very much for the help.  :mrgreen: :mrgreen: :mrgreen: :mrgreen:

paulbu:
Hi Sunny
I made an update from 1.7.6 to 1.10 and at the same time PHP 5. to PHP 8.2 almost without problems :-)
The only problem I encountered was the file db_mysql.php
With your zip file the problem was solved, thank you very much.

Best regards
Paul

Navigation

[0] Message Index

[*] Previous page

Go to full version