|
Post by tiger667 on Mar 30, 2015 22:44:34 GMT
I am unable to get it running on my machine, I have followed all the steps until the last, the first error I got was resolved by changing mysql_connect to mysqli_connect in the connectdb.php file. But now I am getting the following error:
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'Admin'@'localhost' (using password: YES) in C:\xampp\htdocs\linguisticlibrary\includes\connectdb.php on line 18
No Connection
If I change the username and password variables in the file I get a username/password error instead. Nothing is popping up for me to enter the username of admin with password 123456.
|
|
|
Post by Auburn on Mar 31, 2015 19:59:01 GMT
Hi, What was the first error you got? It's probably better to not rename the mysql_connect variable (since that has other consequences), but instead address the primary issue. Any other details would help too. Like if you can access the main index.php page at all: C:\xampp\htdocs\linguisticlibrary\index.php And what happens when you go to... C:\xampp\htdocs\linguisticlibrary\admin\admin_login.php
|
|
|
Post by tiger667 on Apr 1, 2015 4:57:40 GMT
I get the following with the file before I changed it:
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\xampp\htdocs\linguisticlibrary\includes\connectdb.php on line 18 Error In database
and I can go through the file explorer no problem, should I open that admin_login .php file or the index.php file directly?
I can look at a list of tables through phpMyAdmin but that doesn' tseem to help, I can't do anything from there. The instructions make it seem like it is supposed to ask me for a username and password when I go to http://localhost/linguisticlibrary/admin, but it never does.
|
|
|
Post by Auburn on Apr 1, 2015 5:55:08 GMT
I see. I just wanted to hop in here and let you know we're working on the issue. For the time being, I found this article/page really helpful: stackoverflow.com/questions/21797118/deprecated-mysql-connectTurn off all deprecated warnings including them from mysql_*: <?php error_reporting(E_ALL ^ E_DEPRECATED);or
You can remove the warning by adding a '@' before the mysql_connect. @mysql_connect('localhost','root','');Cancel the warning using one of the methods mentioned here and that may fix the problem. The code probably isn't broken but XAMPP is being stubborn and not letting the code run because mysql_connect is being phased out. (Though, even if you fix it on one php page it might be a problem in other pages that use that call too, so we'll update all the files to be compliant with the new standard and provide a new .zip file of the software.)
|
|
|
Post by avonthalonus on Jun 18, 2015 19:22:01 GMT
I am having the same problem in XAMPP. Using the methods to turn off deprecated warnings simply results in the "No Connection" error. It seems the problem cannot be fixed on just one .php page alone.
XAMPP will not let me even open the index page to change the admin credentials.
|
|
|
Post by avonthalonus on Jun 18, 2015 20:25:19 GMT
I just tried it in WAMP as well and I get the same error. So it's not an issue of this distribution or that. The latest version of PHP simply is not compatible with the app.
|
|
|
Post by avonthalonus on Jun 18, 2015 22:23:39 GMT
I got it working on altervista. However, two issues:
1) How do you change the text on the front page?
2) Can you restrict access to the site so that only those you allow can see the content or register? Scratch that, setting all entries as private is good enough.
|
|
|
Post by Auburn on Jun 25, 2015 3:43:13 GMT
Hi, That's great that you found a solution! =D We weren't prioritizing XAMPP use as much as web-based use when building the software, so we didn't get to beat out all the bugs in version 1.0 (we'll have XAMPP use covered in version 2)
When you login as an admin user, you go to the admin panel (via your profile buttons or at .../admin/ ) and on the dashboard select "Website". There you can change all the content of the frontpage footers and customize a lot of other things like the sitename and background image.
|
|