Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Sponsored Reviews   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 05-17-2006, 11:57 PM   #1 (permalink)
Inactive
 
irka's Avatar
 
Join Date: 03-17-06
Location: Saigon, Paris
Posts: 369
iTrader: 0 / 0%
Latest Blog:
None

irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold
Send a message via Yahoo to irka
Flash mail form and php problem

Hi php folks,

I've a flash submission form at http://www.irkawebdesign.com/contact.html, actually the script is correct and the php script is correct also i guess. My problem is that everytime i try to send a mail ( when i fill up everything on the form ) it returns me that freaking error:

Quote:
Forbidden

You don't have permission to access /sendmail.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.34 Server at www.irkawebdesign.com Port 80
So i contacted my hosting and those guys said it was a problem with my send button,

Quote:
Originally Posted by Daily Razor Troubleshooting Folks
We can't reproduce the issue using url that you have provided. Please make sure that "Send" button works properly.

Thanks,

Support-KA
DailyRazor Support Team
I tried the script and the form on my other servers and damn it works well, why it doesnt work on irkawebdesign.com, you guys have any ideas? did my hosting told me crap?

Thanks for any suggestions comments questions
Patrick !!!!!!!
irka is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 05-18-2006, 12:39 AM   #2 (permalink)
Inactive
 
reteep's Avatar
 
Join Date: 03-20-06
Location: Germany
Posts: 523
iTrader: 0 / 0%
Latest Blog:
C# CSV Import

reteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to all
Send a message via ICQ to reteep
Did you try to chmod the sendmail.php?
reteep is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 12:42 AM   #3 (permalink)
Inactive
 
irka's Avatar
 
Join Date: 03-17-06
Location: Saigon, Paris
Posts: 369
iTrader: 0 / 0%
Latest Blog:
None

irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold
Send a message via Yahoo to irka
Quote:
Originally Posted by reteep
Did you try to chmod the sendmail.php?
Hum how can i do that ?
irka is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 12:46 AM   #4 (permalink)
Inactive
 
reteep's Avatar
 
Join Date: 03-20-06
Location: Germany
Posts: 523
iTrader: 0 / 0%
Latest Blog:
C# CSV Import

reteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to all
Send a message via ICQ to reteep
Quote:
Originally Posted by irka
Hum how can i do that ?
Depends on your FTP Client, in FlashFXP e.g.:
Right-Click on the File, CHMOD, and set it to 777.
reteep is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 12:53 AM   #5 (permalink)
Inactive
 
irka's Avatar
 
Join Date: 03-17-06
Location: Saigon, Paris
Posts: 369
iTrader: 0 / 0%
Latest Blog:
None

irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold
Send a message via Yahoo to irka
I use smart ftp, i tried what you said, it still doesnt work, what the 777 stand for ? :p
irka is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 01:00 AM   #6 (permalink)
Inactive
 
reteep's Avatar
 
Join Date: 03-20-06
Location: Germany
Posts: 523
iTrader: 0 / 0%
Latest Blog:
C# CSV Import

reteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to all
Send a message via ICQ to reteep
Read, Write and Execution Permissions.. hm.. then I assume it's indeed a problem of your host, do you have access to your Apache Error Log?
reteep is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 01:05 AM   #7 (permalink)
Inactive
 
irka's Avatar
 
Join Date: 03-17-06
Location: Saigon, Paris
Posts: 369
iTrader: 0 / 0%
Latest Blog:
None

irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold
Send a message via Yahoo to irka
Quote:
Originally Posted by reteep
Read, Write and Execution Permissions.. hm.. then I assume it's indeed a problem of your host, do you have access to your Apache Error Log?
Alright im a total noob when its about network... How can i access my apache error log, is it on my ftp? I've access to Cpanel btw... Thanks for supporting me dude
irka is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 01:13 AM   #8 (permalink)
Inactive
 
reteep's Avatar
 
Join Date: 03-20-06
Location: Germany
Posts: 523
iTrader: 0 / 0%
Latest Blog:
C# CSV Import

reteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to all
Send a message via ICQ to reteep
Quote:
Originally Posted by irka
Alright im a total noob when its about network... How can i access my apache error log, is it on my ftp? I've access to Cpanel btw... Thanks for supporting me dude
Maybe CPANEL can show your Error logs, try to find something about Apache Error Logs there, if not and if it's just webspace(no root access) you have to talk to your host again, they shall check the apache logs for your domain to find out what's the problem with sendmail.php
reteep is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 01:26 AM   #9 (permalink)
Inactive
 
irka's Avatar
 
Join Date: 03-17-06
Location: Saigon, Paris
Posts: 369
iTrader: 0 / 0%
Latest Blog:
None

irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold
Send a message via Yahoo to irka
Alright so i've been in the error log manager from CPanel and here is what i found for the sendmail.php:

[Thu May 18 02:52:30 2006] [error] [client 58.186.117.85] Options ExecCGI is off in this directory: /home/****/public_html/sendmail.php
[Thu May 18 02:52:11 2006] [error] [client 58.186.117.85] File does not exist: /home/****/public_html/403.shtml
[Thu May 18 02:52:11 2006] [error] [client 58.186.117.85] Options ExecCGI is off in this directory: /home/****/public_html/sendmail.php
[Thu May 18 02:51:56 2006] [error] [client 58.186.117.85] File does not exist: /home/****/public_html/403.shtml
[Thu May 18 02:51:56 2006] [error] [client 58.186.117.85] Options ExecCGI is off in this directory: /home/****/public_html/sendmail.php

File does not exist
WTF??? its here i can see it

What do you think, the " is off in this directory " doesnt sound real good isnt it?

I should learn bout all that stuff
irka is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 01:32 AM   #10 (permalink)
Inactive
 
reteep's Avatar
 
Join Date: 03-20-06
Location: Germany
Posts: 523
iTrader: 0 / 0%
Latest Blog:
C# CSV Import

reteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to all
Send a message via ICQ to reteep
You need to add the following line to your .htaccess that located in the same folder as the script you are trying to execute:

Code:
Options ExecCGI
The 403 Error isn't important..
reteep is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 01:45 AM   #11 (permalink)
Inactive
 
irka's Avatar
 
Join Date: 03-17-06
Location: Saigon, Paris
Posts: 369
iTrader: 0 / 0%
Latest Blog:
None

irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold
Send a message via Yahoo to irka
Quote:
Originally Posted by reteep
You need to add the following line to your .htaccess that located in the same folder as the script you are trying to execute:

Code:
Options ExecCGI
The 403 Error isn't important..
I added it into my .htaccess so now it looks like that:
Quote:
Options ExecCGI
AddType text/html .shtml
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes
AddHandler server-parsed .html
Options Includes
the sendmail.php is in the same page as the .htaccess but i still have the error.... perhaps i should add sendmail.php to the appropriate folder, i was thinking about the folder cgi-bin(??is that crazy??)

My website is build in SSI, i still have the 777 attributes into the chmod of sendmail.php, i added that code "Options ExecCGI" into the .htaccess file. This is where i am right now!

Quote:
Originally Posted by recent Cpanel Error Log
[Thu May 18 03:44:12 2006] [error] [client 58.186.117.85] File does not exist: /home/****/public_html/403.shtml
[Thu May 18 03:44:12 2006] [error] [client 58.186.117.85] Options ExecCGI is off in this directory: /home/****/public_html/sendmail.php
Damn i added it though,

Thanks for your patience dude, i really appreciate it
irka is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 01:49 AM   #12 (permalink)
Inactive
 
reteep's Avatar
 
Join Date: 03-20-06
Location: Germany
Posts: 523
iTrader: 0 / 0%
Latest Blog:
C# CSV Import

reteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to all
Send a message via ICQ to reteep
Then it seems to be ignored and php seems to be executed as CGI module. Ask your host if they can enable ExecCGI for that directory. You shouldn't place it in cgi-bin
reteep is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 01:52 AM   #13 (permalink)
Inactive
 
irka's Avatar
 
Join Date: 03-17-06
Location: Saigon, Paris
Posts: 369
iTrader: 0 / 0%
Latest Blog:
None

irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold
Send a message via Yahoo to irka
Quote:
Originally Posted by reteep
Then it seems to be ignored and php seems to be executed as CGI module. Ask your host if they can enable ExecCGI for that directory. You shouldn't place it in cgi-bin
Alright Alright, i'm coming back on my hosting troubleshooting thread, i come back to you as soon as they replied to me Kick ass dude!!!

Dat rocks!!!

BTW I learnt more today than yesterday
irka is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 01:54 AM   #14 (permalink)
Inactive
 
reteep's Avatar
 
Join Date: 03-20-06
Location: Germany
Posts: 523
iTrader: 0 / 0%
Latest Blog:
C# CSV Import

reteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to all
Send a message via ICQ to reteep
Glad I could help
reteep is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 02:47 AM   #15 (permalink)
Inactive
 
irka's Avatar
 
Join Date: 03-17-06
Location: Saigon, Paris
Posts: 369
iTrader: 0 / 0%
Latest Blog:
None

irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold
Send a message via Yahoo to irka
Quote:
Originally Posted by reteep
Glad I could help
Quote:
Hello Patrick,

this option should be enabled in .htaccess file under your public_html directory. We see that you have this option enabled already.


Regards
Here's what the son of b*tches told me. So i deleted the ExecCGI in my .htaccess file and resent them a message that they have to support me or there'll be no crepes tonight!

;D
irka is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 02:52 AM   #16 (permalink)
Inactive
 
reteep's Avatar
 
Join Date: 03-20-06
Location: Germany
Posts: 523
iTrader: 0 / 0%
Latest Blog:
C# CSV Import

reteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to allreteep is a name known to all
Send a message via ICQ to reteep
Eheh,

as long as this Error Message appears:

[error] [client 58.186.117.85] Options ExecCGI is off in this directory: /home/****/public_html/sendmail.php

It's not enabled, tell them to check the Apache Logs..
reteep is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 04:26 AM   #17 (permalink)
Inactive
 
irka's Avatar
 
Join Date: 03-17-06
Location: Saigon, Paris
Posts: 369
iTrader: 0 / 0%
Latest Blog:
None

irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold
Send a message via Yahoo to irka
Quote:
Originally Posted by reteep
Eheh,

as long as this Error Message appears:

[error] [client 58.186.117.85] Options ExecCGI is off in this directory: /home/****/public_html/sendmail.php

It's not enabled, tell them to check the Apache Logs..
Its what i told them, they replied me saying i've to use .htaccess files for some custom Apache settings. But the htaccess doesnt work at all!!! So i made a test with a basic form built in php on 2 of my websites who got a hosting with them, on irkawebdesign it doesnt work... but on the other one it works well and with hte same hosting program lol...

I hope i'll finish that problem before the end of the day
irka is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 04:56 AM   #18 (permalink)
Inactive
 
irka's Avatar
 
Join Date: 03-17-06
Location: Saigon, Paris
Posts: 369
iTrader: 0 / 0%
Latest Blog:
None

irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold
Send a message via Yahoo to irka
Now is the funniest part, when i think its over and the test at http://www.irkawebdesign.com/test.html works well, i try my flash submission form and i get that message:

Quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@irkawebdesign.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.34 Server at www.irkawebdesign.com Port 80
AHHHHHHHHHHH When it is going to end ??? Lol i don't want html i want to use flash!! Think i have to make another example with 2 of my servers to show them the problem again ?
irka is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2006, 11:52 PM   #19 (permalink)
Inactive
 
irka's Avatar
 
Join Date: 03-17-06
Location: Saigon, Paris
Posts: 369
iTrader: 0 / 0%
Latest Blog:
None

irka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to beholdirka is a splendid one to behold