Phone Book Demo APP BUGS!

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Phone Book Demo APP BUGS!

Postby wpnovice » 05. May 2014 00:38

:|

Image

Code: Select all
Warning: SQLite3::query(): Unable to prepare statement: 1, no such table: users in /Applications/XAMPP/xamppfiles/htdocs/xampp/phonebook.php on line 69

Fatal error: Call to a member function fetchArray() on a non-object in /Applications/XAMPP/xamppfiles/htdocs/xampp/phonebook.php on line 72


Hi,

What's wrong with my xampp installation?
This is a fresh install on my mac machine. But it is weird that I got this bugs right away.

I hope you can help me with this one.

Thanks
wpnovice
 
Posts: 2
Joined: 05. May 2014 00:35
XAMPP Version: 5.5.19
Operating System: OSX

Re: Phone Book Demo APP BUGS!

Postby Nobbie » 05. May 2014 12:47

wpnovice wrote:What's wrong with my xampp installation?


Nothing - the phone book demo is quite old and not maintained well, it seems to be outdated. Simply forget about that, you dont need it for running Xampp.
Nobbie
 
Posts: 7031
Joined: 09. March 2008 13:04

Re: Phone Book Demo APP BUGS!

Postby wpnovice » 05. May 2014 19:21

Nobbie wrote:
wpnovice wrote:What's wrong with my xampp installation?


Nothing - the phone book demo is quite old and not maintained well, it seems to be outdated. Simply forget about that, you dont need it for running Xampp.


How to delete that demo?

thanks
wpnovice
 
Posts: 2
Joined: 05. May 2014 00:35
XAMPP Version: 5.5.19
Operating System: OSX

Re: Phone Book Demo APP BUGS!

Postby Nobbie » 06. May 2014 10:37

wpnovice wrote:How to delete that demo?


Delete the corresponding files on the hard disk and delete the corresponding links in the Xampp Menu.
Nobbie
 
Posts: 7031
Joined: 09. March 2008 13:04

Re: Phone Book Demo APP BUGS! FIXED

Postby Dean O » 09. July 2014 21:08

Here's how I fixed the warning and fatal error:

find this code in phonebook.php - it was line 35 in my file:
Code: Select all
if(!($db=new SQLite3('sqlite/phonebook.sqlite3', '0666')))


change it to:
Code: Select all
if(!($db=new SQLite3('sqlite/phonebook.sqlite3')))



My Versions:
  • XAMPP 1.8.3-4
  • Windows 8.1
Dean O
 
Posts: 1
Joined: 09. July 2014 20:53
XAMPP Version: 5.5.19
Operating System: Windows 8.1

Re: Phone Book Demo APP BUGS!

Postby Karls » 09. August 2014 00:44

Thanks, Dean O. Your solution worked for me as well.

XAMPP 1.8.3
Windows 7
Karls
 
Posts: 1
Joined: 09. August 2014 00:39
XAMPP Version: 1.8.3-1
Operating System: Windows 7 Home Edition

Re: Phone Book Demo APP BUGS!

Postby indavidjool » 12. August 2014 23:49

Dean O. Good on ya mate! Worked for me too!
indavidjool
 
Posts: 1
Joined: 12. August 2014 23:44
XAMPP Version: 5.5.19
Operating System: Ubuntu Linux 14.04 LTS x64

Re: Phone Book Demo APP BUGS!

Postby rockedge » 25. August 2014 15:29

Thank you l...simple fix worked welll for me. :D

OS : Puppy Linux UPUP 3.9.9.2
XAMPP 1.8.3-4
rockedge
 
Posts: 1
Joined: 25. August 2014 15:03
XAMPP Version: 5.5.19
Operating System: Puppy Linux UPUP 3.9.9.2


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 2 guests