News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Problem upgrading from RC2 to RC5 - Cannot find "cache"

Started by Krip, April 20, 2011, 07:09:43 PM

Previous topic - Next topic

Krip

Hi guys...

I'm trying to upgrade from RC2 to RC5 using the Full Upgrade package.  When I go to the forum.com/upgrade.php URL I get the following error...

QuoteThe cache directory could not be found.

Please make sure you have a directory called "cache" in your forum directory before continuing.

The directory is definitely there, I've even re-created the dir but no joy. 

Any ideas would be most appreciated...


Andy.

Illori

did you spell it cache, Cache is often not seen the same as cache on linux based servers? is the folder able to read and written to by the server? it should be chmoded to something similar to 777 or 775, take a look at How do I chmod? / what is chmod?

what folder did you put this cache folder in?

Krip

Hi Illori,

Yes the spelling is correct and it's in the forums root dir.  The cache dir is uploaded as part of the upgrade package also.


Cheers,

Andy.

SlammedDime

Open up Settings.php and you should see an entry for the $cachedir variable similar to that of $sourcedir.  If it's not there, create it.  If it is, ensure it is the right path.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Krip

Thanks for the ideas so far guys but Settings.php has the $cachedir variable set correctly near the bottom of the file.

    /httpsdocs/forum/cache

Just can't figure this out and I'm normally good at troubleshooting things like this.

Illori

so your $sourcedir reads /httpdocs/forum/Sources? usually on a shared linux hosting plan there is a bit more as part of that url.

Krip

The $sourcedir reads the same also. When I first set the forum up using the full path:

/var/www/vhosts/domain.net/httpsdocs/forum/Sources

it never worked properly.

Krip

Hmm ok, i put the full path in the settings field and it appears to have worked... Thanks guys :)

Advertisement: