restart the whole stuff at localhost

From: Ammammata <ammammata_at_tiscalinet.it>
Date: Tue, 4 Dec 2018 13:06:01 +0000 (UTC)
Message-ID: <XnsA9AE8F720F4C1ammammatatiscalineti_at_148.251.67.112>



hello again

thankyou once more for your previous support, I need a little more

So:
- I downloaded the whole site on my disk

  • I downloaded and started XAMPP portable (windows 32 bit, php 5.6)
  • I started those three BAT files as per readme.txt
  • I started the browser at localhost
  • XAMPP is running fine :) Then:
  • I put the original website in place of the xampp demo
  • I run phpmyadmin and created the empty database, named as per login parameters I found hard-coded in the script: mysql_select_db("db11016416- company");
  • I went to Import and selected the last automatic backup: it worked fine, executing 400+ queries to rebuild all the tables
  • I created an admin user as per name/password I found once more hard-coded in the script: mysql_connect("localhost", "db11016416-admin", "mysql_password") OR die(mysql_error()); assigning it to Host name %
  • finally I restarted the browser, running index.php

Here I got the usual login/password form, even if with a warning:

Notice: Undefined index: verification in C:\xampp\htdocs\index.php on line 8

I typed username and password and clicked the button, getting another warning and an error:

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\xampp\htdocs\include\function.php on line 9

Warning: mysql_connect(): Access denied for user 'db11016416- admin'_at_'localhost' (using password: YES) in C:\xampp\htdocs\include\function.php on line 9 Access denied for user 'db11016416-admin'_at_'localhost' (using password: YES)

So I went back to the users and changed % into localhost

Trying again the warning disappeared but I got a different error:

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /is/htdocs/wp11016416_AGPG3LGMKP/www/include/function.php:9 Stack trace: #0 /is/htdocs/wp11016416_AGPG3LGMKP/www/admin_start.php(7): connect_mysql() #1 {main} thrown in /is/htdocs/wp11016416_AGPG3LGMKP/www/include/function.php on line 9

[Quoted] [Quoted] so we are back where we belong: Error: Call to undefined function mysql_connect()

:(

-- 
/-\ /\/\ /\/\ /-\ /\/\ /\/\ /-\ T /-\
-=- -=- -=- -=- -=- -=- -=- -=- - -=-
>>>>>  http://www.bb2002.it :)  <<<<<
........... [ al lavoro ] ...........
Received on Tue Dec 04 2018 - 14:06:01 CET

Original text of this message