- My MySQL host is not the standard “localhost.” Where can I put my host information?
- I get an error page from my server when looking at any page other than the home page. What gives?
- Can Chasr display photos from a group on Flickr?
-
My MySQL host is not the standard “localhost.” Where can I put my host information?
That’s a bug! It has been fixed in Chasr 1.3.0, but here’s a solution that will fix earlier versions and is compatible with future versions. Add the following line to your preferences, with the appropriate value: $db_host = "localhost";. Then, in core/php/chasr.php, replace if (isset($db_username) && isset($db_password) && isset($db_name)) {$f->enableCache("db", "mysql://$db_username:$db_password@localhost/$db_name", "$db_cache");} with if (isset($db_username) && isset($db_password) && isset($db_name) && isset($db_host)) {$f->enableCache("db", "mysql://$db_username:$db_password@$db_host/$db_name", "$db_cache");}.
-
I get an error page from my server when looking at any page other than the home page. What gives?
In the .htaccess file that lives where the index.php file for Chasr is, replace
RewriteEngine on Options +FollowSymLinks
with
RewriteEngine on RewriteBase /chasr/ Options +FollowSymLinks
... or wherever Chasr is on your server. If it’s at http://www.example.com/photos/, then write RewriteBase /photos/.
-
Can Chasr display photos from a group on Flickr?
No. Chasr can only be used for a user on Flickr. Perhaps that’ll be my work for Chasr 3!
