Quizzes & Puzzles7 mins ago
Any .php Peeps On Here ?
10 Answers
Trying to get an online form to work and keep getting the following on "submit"
anybody have any ideas or point me in the right direction ?
thanks
Warning: include(send_it/config.inc.php) [function.include]: failed to open stream: No such file or directory in /home/content/83/12186383/html/*******/send_it.php on line 4
Warning: include() [function.include]: Failed opening 'send_it/config.inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/83/12186383/html/*******/send_it.php on line 4
Warning: include(send_it/email.inc.php) [function.include]: failed to open stream: No such file or directory in /home/content/83/12186383/html/*******/send_it.php on line 5
Warning: include() [function.include]: Failed opening 'send_it/email.inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/83/12186383/html/*******/send_it.php on line 5
Warning: include(send_it/send_email.inc.php) [function.include]: failed to open stream: No such file or directory in /home/content/83/12186383/html/*******/send_it.php on line 6
Warning: include() [function.include]: Failed opening 'send_it/send_email.inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/83/12186383/html/*******/send_it.php on line 6
Warning: include(send_it/send_mysql.inc.php) [function.include]: failed to open stream: No such file or directory in /home/content/83/12186383/html/*******/send_it.php on line 7
Warning: include() [function.include]: Failed opening 'send_it/send_mysql.inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/83/12186383/html/*******/send_it.php on line 7
Warning: include(send_it/thankyou.inc.php) [function.include]: failed to open stream: No such file or directory in /home/content/83/12186383/html/*******/send_it.php on line 8
Warning: include() [function.include]: Failed opening 'send_it/thankyou.inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/83/12186383/html/*******/send_it.php on line 8
anybody have any ideas or point me in the right direction ?
thanks
Warning: include(send_it/config.inc.php) [function.include]: failed to open stream: No such file or directory in /home/content/83/12186383/html/*******/send_it.php on line 4
Warning: include() [function.include]: Failed opening 'send_it/config.inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/83/12186383/html/*******/send_it.php on line 4
Warning: include(send_it/email.inc.php) [function.include]: failed to open stream: No such file or directory in /home/content/83/12186383/html/*******/send_it.php on line 5
Warning: include() [function.include]: Failed opening 'send_it/email.inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/83/12186383/html/*******/send_it.php on line 5
Warning: include(send_it/send_email.inc.php) [function.include]: failed to open stream: No such file or directory in /home/content/83/12186383/html/*******/send_it.php on line 6
Warning: include() [function.include]: Failed opening 'send_it/send_email.inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/83/12186383/html/*******/send_it.php on line 6
Warning: include(send_it/send_mysql.inc.php) [function.include]: failed to open stream: No such file or directory in /home/content/83/12186383/html/*******/send_it.php on line 7
Warning: include() [function.include]: Failed opening 'send_it/send_mysql.inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/83/12186383/html/*******/send_it.php on line 7
Warning: include(send_it/thankyou.inc.php) [function.include]: failed to open stream: No such file or directory in /home/content/83/12186383/html/*******/send_it.php on line 8
Warning: include() [function.include]: Failed opening 'send_it/thankyou.inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/83/12186383/html/*******/send_it.php on line 8
Answers
Best Answer
No best answer has yet been selected by bazwillrun. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.These links are nothing more than the results of a bit of googling but I hope that you'll find something relevant:
http:// stackov erflow. com/que stions/ 8634543 /warnin g-inclu de-conf ig-conf ig-php- functio n-inclu de-fail ed-to-o pen-str eam
http:// stackov erflow. com/que stions/ 1110833 3/faile d-to-op en-stre am-incl ude-wha t-is-ca using-t his
In particular, I note the reference (in the second link) to the problem being related to having one folder nested inside another. Perhaps that's relevant in your case?
http://
http://
In particular, I note the reference (in the second link) to the problem being related to having one folder nested inside another. Perhaps that's relevant in your case?
What code lines are contained in your send_it.php file?
The warning messages appear to indicate that it is failing to find a number of program 'Include' extensions that are declared within your 'send_it.php' coding file, defined at lines 5,6,7 & 8 in send_it.php. If that is the case then check the that the include files & file paths such as 'send_it/send_email.inc.php' actually exist in those locations.
The warning messages appear to indicate that it is failing to find a number of program 'Include' extensions that are declared within your 'send_it.php' coding file, defined at lines 5,6,7 & 8 in send_it.php. If that is the case then check the that the include files & file paths such as 'send_it/send_email.inc.php' actually exist in those locations.
thanks both...
php isnt my usual cup of tea...i gathered it was a file /path issue but not sure.
Trouble is im still none the wiser...
Here is the send_email.inc.php :
****************************
and here is the send_it.php :
and in the same folder are the following files:
config.inc.php
ccjoin.php (this is the actual form)
email.inc.php
send_msql.inc.php (this file is totally blank)
thankyou.inc.php
all the files are in one folder called ccjoin which i uploaded to the server from my Windows 10 desktop
php isnt my usual cup of tea...i gathered it was a file /path issue but not sure.
Trouble is im still none the wiser...
Here is the send_email.inc.php :
****************************
and here is the send_it.php :
and in the same folder are the following files:
config.inc.php
ccjoin.php (this is the actual form)
email.inc.php
send_msql.inc.php (this file is totally blank)
thankyou.inc.php
all the files are in one folder called ccjoin which i uploaded to the server from my Windows 10 desktop
Ok, with all the files being in the same directory as the main 'send_it.php' program file, which I am assuming all sits at the root directory "/" of your server and there is no 'send_it' directory, use a text editor to modify the 'send_it.php' file and change the 'include' statements to read as:
include('./config.inc.php')
include('./email.inc.php')
include('./send_email.inc.php')
include('./send_mysql.inc.php')
include('./thankyou.inc.php')
So to clarify, for the above to have some success of finding the 'include' files, a directory listing of your Server root "/" would be expected to list the files:-
send_it.php
config.inc.php
email.inc.php
send_email.inc.php
send_mysql.inc.php
thankyou.inc.php
Another point to consider is that if the 'include' files have other references embedded within them to file directory paths in order to perform its function correctly and those file paths are incorrect, it will fail for the same reason you are currently encountering.
As such, best to use a text editor and check each of those files to confirm correct file paths.
include('./config.inc.php')
include('./email.inc.php')
include('./send_email.inc.php')
include('./send_mysql.inc.php')
include('./thankyou.inc.php')
So to clarify, for the above to have some success of finding the 'include' files, a directory listing of your Server root "/" would be expected to list the files:-
send_it.php
config.inc.php
email.inc.php
send_email.inc.php
send_mysql.inc.php
thankyou.inc.php
Another point to consider is that if the 'include' files have other references embedded within them to file directory paths in order to perform its function correctly and those file paths are incorrect, it will fail for the same reason you are currently encountering.
As such, best to use a text editor and check each of those files to confirm correct file paths.
Ok, went with the original instruction of putting the files in a folder and now all error messages have gone, and a screen with thankyou appears and after a fixed delay it then goes to a given url, in this case im just going back to the form, so that part of the process all seems to be in order.
Only one problem now its not sending the form !...
Another can of worms...
Theres email addresses where they should be but nada...nothing being sent.
Having a root around in the files to see if theres anything amiss
Any other help greatly appreciated..
Give me plain HTML and CSS any day !
Only one problem now its not sending the form !...
Another can of worms...
Theres email addresses where they should be but nada...nothing being sent.
Having a root around in the files to see if theres anything amiss
Any other help greatly appreciated..
Give me plain HTML and CSS any day !
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.