Ask this on the price tapestry forum.
I am hoping someone can help, I have bought magicparser and done some test stuff on my laptop using xampp and all the php scripts work fine and populate the database. When i move it all over to my 1 and 1 server i get an error 500 internal server error.....
Sidabm
Ask this on the price tapestry forum.
sidabm (12-08-09)
Would suspect that's the best port of call as error500's are very hard to diagnose without knowledge of the product.
Best bets I suspect are either the .htaccess file is causing problems if it's got one (not sure why Magic Parser would) or you've maybe got a shebang line in the PHP script(s) such as "#!/path_to_php" kindof thing which might need changing for 1&1. Actually normally it shouldn't need one at all.
Internal Server Error for PHP scripts is a little unusual generally unless they're being run from under the /cgi-bin in which case try running it outside of there.
Also double check that your 1&1 account allows PHP as a few hosting providers have accounts without it for example and might need to change account or have it enabled. Have heard some slightly odd things about 1&1 in the past in terms of configurations.
Trev
sidabm (12-08-09)
THanks for the suggestions.
I have spent 3 days back and forth to 1 and 1 supoport and i must say they are useless. I have created a second file by copying the first one and changed the xml file it processes and it works fine. I have run the problem file on XAMPP locally and it works without any problem.
The -htaccess file is correct and i have even changed the permissions on the file and still no joy.
Are you using Internet Explorer? If so, go to Tools, Internet Options, and untick "Show friendly http error messages" - it might then give you a better idea of what the error is.
Cheers.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks