Jump to content
The Uniform Server Community

newbie2linux

Member
  • Posts

    2
  • Joined

  • Last visited

newbie2linux's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi Ric, Apologies for not responding sooner. Didn't realise that you'd replied to the thread that i'd posted on 3rd Nov until early this evening (Mon 6th Nov). Thank you for checking this problem out. Much appreciated. Apologies for not providing a link for phpglossar_0.8 (i'm glad that you'd found a download site anyway). I'll amend the lines of code that you've suggested are modified and post back on this forum with my findings. Hopefully the PHP script will work as you seem to have thoroughly tested it your end. Any idea's why phpglossar_0.8 works on a remote server and does not work locally using Uniform Server (nor XAMPP or MAMP come to that)?. Thank you again. It's a shame that the author doesn't seem to want to respond to queries by e-mail. E-mailed on many many occasions and never received a response. Keep up the good work. Kind Regards.
  2. Hi, I'm a newbie to php, MySQL and Uniserver and think that the latter is a great package. I want to put together a 'hobbyist level' web-site running on a home-brew web-server rather than via a paid for web-host and am trying to get a PHP download called phpglossar_0.8 to work however am failing dismally to do so. I've tried another WAMP package and came across the same problem as i'm experiencing with Uniserver (however Uniserver is the only download that worked with php scripts immediately without any configuration being required). I've entered the following details for the connect.php file (the only file that needs to be amended in order for phpglossar_0.8 to work to the best of my knowledge): // DATABASE - PARAMETER //----------------------- // MySQL server hostname $dbhost = "localhost"; // MySQL server username $dbuser = "root"; // MySQL server password $dbpasswd = "root"; // MySQL server connect - DON´T CHANGE THIS! $db=mysql_connect("$dbhost","$dbuser","$dbpasswd"); // MySQL database name $db_name="phpglossar"; A database named phpglossar has been created via phpMyAdmin however the following URLs do not appear to be working: Show Entries: http://localhost/phpglossar_0.8/phpglossar...p?menue_do=show Add Entry: http://localhost/phpglossar_0.8/phpglossar...hp?menue_do=add Modify entry: http://localhost/phpglossar_0.8/phpglossar...menue_do=change Delete Entry: http://localhost/phpglossar_0.8/phpglossar...menue_do=delete Clicking on these URLs refreshes the index.php page only. FTP'ing phpglossar_0.8 to a remote server to check whether or not the above details are configured correctly has confirmed that the PHP Glossary works so i'm stuck for ideas as to why phpglossar_0.8 fails to work locally. I've tried to get this to work under both Windows and OS X. The same problems are experienced on both operating systems. Is there a possibility that file permissions need to be set in order for the above URLs to work?. The installation code that creates the database 'phpglossar' works so I can only guess that the host name: localhost, username: root, password: root and database name: phpglossar are correct. Are there any preliminary checks that should be made immediately upon installing Uniserver that i've not checked?. Any suggestions would be appreciated. Thank you.
×
×
  • Create New...