PDA

View Full Version : contact form problem


Grandnet2295844
01-18-2010, 06:24 AM
I am not seeing the form page in my testing server
I am getting this error message. The page showed up before
I added the security features.

Help!!

Warning: require_once(WA_Globals/WA_Globals.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\Pampered Petz-PHP\contact.php on line 1

Fatal error: require_once() [function.require]: Failed opening required 'WA_Globals/WA_Globals.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\Pampered Petz-PHP\contact.php on line 1

Office Guy-172461
01-18-2010, 06:47 AM
It looks like you forgot to upload the WA_Globals folder.

Grandnet2295844
02-05-2010, 11:23 AM
I redid the form and made sure I uploaded the WA_Globals folder and got a new error
Fatal error: main() [function.require]: Failed opening required 'WA_Globals/WA_Globals.php' (include_path='.:/usr/lib/php') in /homepages/15/d281471359/htdocs/test/contact.php on line 1

It looks like you forgot to upload the WA_Globals folder.

Dani Chankhour
02-05-2010, 11:43 AM
Is the WA_Global folder and the contact us page in the same directory?

The global folder and the form pages have to be in the same directory.

Grandnet2295844
02-05-2010, 01:33 PM
I have the main folder and in the
main folder are the
php and html files and the
asset folders, contact form_GMC folder and template folders
Is this what you mean by the same directory.

I'm teaching myself, the main problem I have is understanding the terms.

Jimmy Wu
02-05-2010, 03:04 PM
What Dani meant was that the WA_Globals directory should be in the same directory as the contact form. Basically you want to have a directory that contains both the contact form and the WA_Globals. If you open the ContactForm_GMC directory that you get out of the zip, you want to copy the contents of that directory all into the same directory on your server.