Deleted includes/defines.php file-How to get new file

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Deleted includes/defines.php file-How to get new file

Postby Ace Hanna » 28. November 2007 10:36

Inadvertently deleted the includes\defines.php file in \htdocs.

Is there a way to obtain and reinsert file without reloading XAMPP?

Got this error msg:
Warning: require_once(C:\xampp\htdocs\includes\defines.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\index.php on line 21

Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\includes\defines.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\index.php on line 21
Ace Hanna
 
Posts: 3
Joined: 28. November 2007 10:28

Postby Wiedmann » 28. November 2007 10:42

without reloading XAMPP?

I don't think that's help.

Warning: require_once(C:\xampp\htdocs\includes\defines.php)

Because that's no file from XAMPP. It must be a file from your own application.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Ace Hanna » 28. November 2007 11:33

I only get the error when I click on Admin button to get
to PHPMyadmin in XAMPP control panel so assumed it was part of XAMPP-
Apache.

If I don't use control panel but go directly to http://localhost/phpmyadmin
it works; bypassing the call to includes/defines.php.
Ace Hanna
 
Posts: 3
Joined: 28. November 2007 10:28

Postby Wiedmann » 28. November 2007 12:20

The files for phpMyAdmin are not in htdocs.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Ace Hanna » 28. November 2007 13:37

Looks like I'm basically screwed here.
danke sehr
Ace Hanna
 
Posts: 3
Joined: 28. November 2007 10:28


Return to XAMPP for Windows

Who is online

Users browsing this forum: JJ_Tagy and 72 guests