|
SimpleLog wiki
Installing SimpleLog Upgrading Working with themes
How to
Troubleshooting Development & resources |
Trouble /
CommonProblemsMy site won't load or stylesheets/images don't appear The first thing to check is your domain preference. It's possible it's set to an incorrect value (did you import your preference from your local install with your domain preference set to 'localhost'?). The easiest way to fix this is to run the rake command: rake simplelog:reset:domain VALUE=mydomain.com
Where mydomain.com is the correct domain value. For instance, if you've installed SimpleLog at blog.yoursite.com, you'd run: rake simplelog:reset:domain VALUE=blog.yoursite.com
Running the rake command without the value argument will reset the domain value to empty string (''), but you should set the domain preference to the full and correct domain so that RSS feeds have the correct URL in links. Also, make sure you uploaded the public/.htaccess file.
Some web hosts—especially in shared enviroments—do not offer SSH access. There are two possible solutions to this problem:
If you have shared hosting with [http://www.lunarpages.com/ Lunarpages]: Follow the installation instructions, and submit a support ticket to get your application built.
When SimpleLog is run in development mode, theme items are not cached and the application will load slower. This is necessary because it allows you to make changes to your theme and see them reflected instantly. Once you've completed your theme, you should make sure your application is running in production mode. Most web hosts run apps only in production mode, so if you're uploading your site to, say, TextDrive, it's almost defintely set to go. In a rare case that your app is not in production mode, you can force it by opening config/environment.rb and adding this line to the top of the file: ENV['RAILS_ENV'] ||= 'production'
Save the file and restart your app/server.
In production mode, all theme items are cached and changes you make will not appear until you clear that cache. The theme cache is always automatically cleared when you save preferences, but you can also clear it manually by clicking on the "Clear the theme cache" link in the upper-left of the preferences section. When developing a theme, you should be running in development mode, which will show changes instantly.
If you find that your theme isn't working and you're seeing things like, "..//themes//themename//file//" when you view your site, it means your theme contains references to files with incorrect locations. You should check your
If you just imported your entries and start getting a 500 error, a likely cause is that your author_id field has been incorrectly set in the database. You can run the following SQL command on your simplelog DB to clear this up (n = your author id and y = whatever was set during import):
|