close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

i am having some problem when trying to open an aplliation form i just added to our website.it keeps on bringing an error.please assist me.

Thread began 8/11/2014 10:02 pm by anonymous | Last modified 8/14/2014 8:03 am by Jason Byrnes | 1329 views | 5 replies |

anonymous

i am having some problem when trying to open an aplliation form i just added to our website.it keeps on bringing an error.please assist me.

Warning: require_once(public_html="http://ngit.org.uk/applicationform.php/") [function.require-once]: failed to open stream: No such file or directory in /websites/123reg/LinuxPackage22/ng/it/_o/ngit.org.uk/public_html/applicationform.php on line 1

Fatal error: require_once() [function.require]: Failed opening required 'public_html="http://ngit.org.uk/applicationform.php/"' (include_path='.:/usr/local/php52/share/pear:/usr/local/php52/share/php') in /websites/123reg/LinuxPackage22/ng/it/_o/ngit.org.uk/public_html/applicationform.php on line 1

Sign in to reply to this post

Jason ByrnesWebAssist

please send a copy of the page so i can see the code.

Sign in to reply to this post

anonymous

i am having some problem when trying to open an aplliation form i just added to our website.it keeps on bringing an error.please assist me.

Warning: require_once(public_html="http://ngit.org.uk/applicationform.php/") [function.require-once]: failed to open stream: No such file or directory in /websites/123reg/LinuxPackage22/ng/it/_o/ngit.org.uk/public_html/applicationform.php on line 1

Fatal error: require_once() [function.require]: Failed opening required 'public_html="http://ngit.org.uk/applicationform.php/"' (include_path='.:/usr/local/php52/share/pear:/usr/local/php52/share/php') in /websites/123reg/LinuxPackage22/ng/it/_o/ngit.org.uk/public_html/applicationform.php on line 1

my domain name is ngit.org.uk and the application form is in my public_html folder.

Sign in to reply to this post

Jason ByrnesWebAssist

This is not a vlid path for a require once statement:

<?php require_once(ngit.org.uk/public_html/applicationform.php/local/php55/share/pear/usr/local/php55/share/php); ?>
looks like you are trying to attach a file from the pear library, you should check with the host for the correct path.


your page is also missing the require_once line for the database connection:
<?php require_once('Connections/localhost.php'); ?>

Sign in to reply to this post

anonymous

mysql_select_db() expects parameter 1 to be string

i keep getting this error when i make those changes.

Warning: mysql_select_db() expects parameter 1 to be string, object given in /websites/123reg/LinuxPackage22/ng/it/_o/ngit.org.uk/public_html/applicationform.php on line 68

Warning: mysql_query() expects parameter 1 to be string, object given in /websites/123reg/LinuxPackage22/ng/it/_o/ngit.org.uk/public_html/applicationform.php on line 70.

this is line 68 and 70

mysql_select_db($myconnection,$register );

$Recordset1 = mysql_query($myconnection, $query_Recordset1 ) or die(mysql_error());

please help.

Sign in to reply to this post

Jason ByrnesWebAssist

I'll need to troubleshoot directly, see the private message section.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...