[SOLVED] 500 Error

Jeffjones

Joined: 2012-05-28
Posts: 7
Posted: Mon, 2012-05-28 16:58

Godaddy was nice enough to delete my accounts because they thought my credit card expired. For $150 they "restored" everything but now I get a 500 Error and they will not help me with it.

The site is here: http://www.lacasamedellin.com/medellin

The .htaccess is this:

# BEGIN Url Rewrite section
# (Automatically generated. Do not edit this section)
<IfModule mod_rewrite.c>
RewriteEngine on

RewriteBase /medellin/

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
RewriteCond %{REQUEST_URI} !/medellin/main\.php$
RewriteRule . - [L]

RewriteCond %{THE_REQUEST} /medellin/d/([0-9]+)-([0-9]+)/([^/?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/medellin/main\.php$
RewriteRule . /medellin/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3 [QSA,L]
RewriteCond %{THE_REQUEST} /medellin/v/([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/medellin/main\.php$
RewriteRule . /medellin/main.php?g2_path=%1 [QSA,L]
</IfModule>

# END Url Rewrite section

The only thing that shows up in GoDaddy's error log is that it is an "Option Include" with the .htaccess problem but nothing else is explained.

Any ideas?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2012-05-28 21:52

rename your .htaccess to .htaccess_old

You need to get your gallery working again without the redirection of url rewrite.

It appeared to forward to the upgrader, make sure your g2data is writeble recursively
chmod -R 0777 /full/path/to/g2data

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
Jeffjones

Joined: 2012-05-28
Posts: 7
Posted: Wed, 2012-06-20 04:46

Hi, I followed your advise, but no luck. Any more ideas? I am really stuck and lost thousand of links in Google. Thanks the site is http://www.lacasamedellin.com/medellin

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Wed, 2012-06-20 11:46

can you clear your caches? http://www.lacasamedellin.com/medellin/lib/support/

is your control panel software cpanel?

-s

 
Jeffjones

Joined: 2012-05-28
Posts: 7
Posted: Fri, 2012-06-22 23:16

Hi, I am not using Cpanel, just FTP.

When I tried to clear my caches, I got this:

Successfully deleted page cacheDeleting dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/cache/entityUnable to recreate dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/cache/entityDeleting dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/cache/moduleUnable to recreate dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/cache/moduleDeleting dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/cache/themeUnable to recreate dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/cache/themeDeleting dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/smarty/templates_cUnable to recreate dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/smarty/templates_cDeleting dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/tmpUnable to recreate dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/tmpDeleting dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/cache/repositoryUnable to recreate dir: /home/content/l/a/c/lacasa123/html/medellin/g2data/cache/repository

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-06-22 23:24
Quote:
Unable to recreate dir

suprsidr wrote:
make sure your g2data is writeble recursively
chmod -R 0777 /full/path/to/g2data

-s

 
Jeffjones

Joined: 2012-05-28
Posts: 7
Posted: Fri, 2012-06-22 23:26

I think I found the "problem". When godoggy deleted my account they gave me a new path and new mysql server. I see the path on the error is the old path for the old server. I did change this for one option in the config file, but do not know which file to edit to change this other path.

 
Jeffjones

Joined: 2012-05-28
Posts: 7
Posted: Fri, 2012-06-22 23:31

I just found the old path in a file called install_c60xxxxx but it is there MANY times. Is there a quick was to change it?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Fri, 2012-06-22 23:34
Quote:
install_c60xxxxx

not a gallery file.
the only place gallery is looking is config.php

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
Jeffjones

Joined: 2012-05-28
Posts: 7
Posted: Fri, 2012-06-22 23:53

I think it is a addon file, but I edited..

THEN, I found the old path in the config, and BAM, it is alive. I just cannot load the pictures. I get the descriptions but I cannot see them http://www.lacasamedellin.com/medellin

Must be a permission things somewhere.

 
Jeffjones

Joined: 2012-05-28
Posts: 7
Posted: Fri, 2012-06-22 23:59

HA HA I am back in business. Thanks for your help. I had deleted the .htaccess file a long time ago, and once I added it back everything seems to be working except the Spanish symbols.