crazyeight Posted July 3, 2006 Share Posted July 3, 2006 My host I am using at ipowerweb.com recently changed versions of php from 4.3.1 to 4.4.1 and after that happened some of my scripts quit working properly. For the most part they work but on the scripts that upload images to the server the images get uploaded but now whenever I view those images in my browser I get 403 forbidden error but when I view the image in my control panel or using ftp they come up just fine. I have asked ipowerweb several times and still they cannot figure out what it could be. But it has to be something they did on the server side because I haven't done anything to the scripts.Has anybody else been having similiar problems or can anyone point me in the right direction to try to resolve this. I hope I made myself clear.Thank You Quote Link to comment https://forums.phpfreaks.com/topic/13573-403-forbidden-error-using-php/ Share on other sites More sharing options...
Gast Posted July 3, 2006 Share Posted July 3, 2006 Maybe check file permissions for file uploads? (As in chmod to 777), I can't see why that would change. Other than that, if they have re-installed PHP then their php.ini file might have changed.There are many file-upload related settings, including the actual "file_upload" setting which may even be turned off! Quote Link to comment https://forums.phpfreaks.com/topic/13573-403-forbidden-error-using-php/#findComment-52644 Share on other sites More sharing options...
crazyeight Posted July 3, 2006 Author Share Posted July 3, 2006 Gast I do have the directory it writes to chmod at 777 and the image gets uploaded to the directory but I get a 403 forbidden error when I view it in my browser. But the image is there if I view it via ftp or file manager.I never ran a webhost before but what your saying makes sense. Its been over a week since they told me they was going to get back to me and I haven't heard anything yet. I like Ipowerweb as a host but their customer service and tech support is truly lacking and needing an upgrade big time. Quote Link to comment https://forums.phpfreaks.com/topic/13573-403-forbidden-error-using-php/#findComment-52698 Share on other sites More sharing options...
Gast Posted July 4, 2006 Share Posted July 4, 2006 Hmm, strange. It seems something wrong with the way the server is reading files, I can't see why you cannot view them in a browser. Are you sure they are actually uploading [b]correctly[/b]? Have you tried downloading one and opening it? Quote Link to comment https://forums.phpfreaks.com/topic/13573-403-forbidden-error-using-php/#findComment-52842 Share on other sites More sharing options...
crazyeight Posted July 4, 2006 Author Share Posted July 4, 2006 Well I just finally got a response from them and you won't believe what they told me. They told me to contact my webmaster and that was it. I emailed them back and told the dumb ......... I am the webmaster. I told them if they was going to work in tech support they should be familiar with almost all aspects of the host or at least know who or where to go for information.Earlier I said they upgraded to php versioin 4.4.1 but that wasn't correct even though that is what it was telling me in the control panel. They are using php version 5.1.4 now Quote Link to comment https://forums.phpfreaks.com/topic/13573-403-forbidden-error-using-php/#findComment-52869 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.