I am on Drupal 6.2 and have an issue with submitting a resume and cover letter. When I click on submit, I get "page not found" error.

Any help would be appreciated!

CommentFileSizeAuthor
#2 error.jpg224.49 KBmichaelp6of7

Comments

gmarus’s picture

The application form does a redirect (drupal_goto) to the job listing page on success but I can't offhand guess why that isn't working for you and you're getting a 404.

Is this an error you're getting within drupal or a more general server error page?
Have you made any changes to the source code?

Please try to provide some more information about your hosting environment, relevant configuration settings and/or log error messages that might help narrow this down. If you can swing it, a url would be nice so I can see the error for myself. Otherwise attaching a screenshot that shows the error you're talking abou may help as well.

michaelp6of7’s picture

StatusFileSize
new224.49 KB

Hi and thanks for your quick response,

The error is within Drupal and I have not made changes to the code. I am not sure this is directly related to the Jobs Module but it occurs every time I try testing it.

I use SiteGround services (shared hosting)

After attaching the resume and writing in the form field, when clicking submit I get the error. The error page URL is: http://mysite/job/application/node/52.

Details
Type page not found
Date Saturday, May 17, 2008 - 02:17
User Michael Potter
Location http://mysite/job/application/node/52
Referrer http://mysite/job/application/node/52
Message 500.shtml
Severity warning
Hostname Operations

I have attached a screenshot in hopes that it helps you. Thanks again!

gmarus’s picture

Assuming the particular posting you're applying to corresponds to node 52, the url in the screenshot looks correct so Drupal should just be picking the parameters off the url and processing. Instead, it looks like it's interpreting the url literally as though you're requesting /job/application/node/52.html (or something similar).

Have you tried asking your host provider about this? It kind of looks like a server configuration issue to me. Perhaps mod_rewrite isn't available or the vhost container hasn't been set up to use everything in your root .htaccess (or there's a missing or corrupted .htaccess(?))

steve2580’s picture

Assigned: Unassigned » steve2580
steve2580’s picture

Assigned: steve2580 » Unassigned
michaelp6of7’s picture

Hello, I contacted SiteGround and they feel it is a .htaccess issue but did not have any other suggestions to resolve the problem ("hire someone to fix it if you can't").

I would appreciate any advice to fix this issue; you can close this ticket even if you can't help. I really appreciate it!

gmarus’s picture

Status: Active » Closed (fixed)

Try this:

Open your .htaccess file in a text editor and uncomment (remove the #) at the beginning of the line that reads:

# RewriteBase /

so it now reads:

RewriteBase /

IIRC, some hosts seem to need this set in order for mod_rewrite to work properly. Hopefully, that solves your problem. If not, contact me directly via my drupal profile page and I'll try to help you further if I can.

michael_lessard_micles.biz’s picture

If the problem you experience is only with anonymous submission/posting, see the solution here :
http://drupal.org/node/671674#comment-4266812