Page 1 of 1

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

PostPosted: 28. November 2007 10:36
by Ace Hanna
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

PostPosted: 28. November 2007 10:42
by Wiedmann
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.

PostPosted: 28. November 2007 11:33
by Ace Hanna
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-

If I don't use control panel but go directly to http://localhost/phpmyadmin
it works; bypassing the call to includes/defines.php.

PostPosted: 28. November 2007 12:20
by Wiedmann
The files for phpMyAdmin are not in htdocs.

PostPosted: 28. November 2007 13:37
by Ace Hanna
Looks like I'm basically screwed here.
danke sehr