server error (changed server)

Support for PhpBB3.
Post here to get help with any phpBB3 related issue
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
If not your topic may be ignored or locked!

server error (changed server)

Post by Fire-Fox »

Hey!


I have just changed server. but when i upload a pic i get and error... and all the pic there is uploaded to the site, gives the below error to =/

http://phpbb3addons.com/download/file.p ... view&id=90

can anybody tell me what to do so i can fix this error

Re: server error (changed server)

Post by corny »

have you chmodded the folders correctly?

Re: server error (changed server)

Post by Fire-Fox »

Yes i have. i have tryed to chmod all folder to 0777 just to se if it changed anything, but it was the same :(

Re: server error (changed server)

Post by cisco007 »

have you tried contacting you host, and asking about it!?

Re: server error (changed server)

Post by Fire-Fox »

No i haven't
dont think they are blocking anything. the server is one i have root access to...

[edit]got it working i had

Code: Select all

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+.)?phpbb3addons.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+.)?phpbb.com/ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.+.)?phpbb3bbcodes.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*.(php)$ ../stop.gif [L]
in the download folder...[/edit]

When i add the .htaccess file, it blocks the picture. Can't see why it should...
Last edited by Fire-Fox on 10 Apr 2010, 12:04, edited 2 times in total.

Re: server error (changed server)

Post by cisco007 »

well i used to get a server error on your link, now all i get is a "you are not authorized to download attachment" error!

Re: server error (changed server)

Post by Fire-Fox »

Yes. proberly because your not a registered member on the site :) but why is the .htaccess giving the error. it didn't on the other server =/

Re: server error (changed server)

Post by Stoker »

What does the server error logs tell you?

Re: server error (changed server)

Post by Fire-Fox »

The only thing is

This is from the error log via ACP
A general error occured: General Error
» Module not accessible
Last edited by Fire-Fox on 11 Apr 2010, 00:12, edited 2 times in total.

Re: server error (changed server)

Post by Fire-Fox »

It was the rewrite modul that wasn't loaded into Apache webserver :)