2011-12-06, 05:05:41
mvlcek Wrote:Golpar Tah Wrote:Hi, I just installed the i18N Gallery plugin on my site and everything seems to be working fine except when I click on the "Add images" link, it displays the default Opps! Page not found! page and says "We are sorry, but the page you are looking for does not exist."
When running this on my local MAMP install, it works fine so I'm guessing it's a configuration problem with my server. Any ideas? Thanks.
Did you copy the .htaccess files to your server? They are be default not visible on the Mac.
Otherwise check the problem solving chapter here.
It defiantly seems to be an issue with the .htaccess file. I tried modifying it but to no avail. Now when I click on the "Add images" link, I get the following error: [an error occurred while processing this directive]
Here's the code for my .htaccess file.
Code:
AddDefaultCharset UTF-8
# File modified on Dec 5 11:28:31 2011 by server
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value default_charset "UTF-8"
Options -Indexes
# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>
RewriteEngine on
# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]