Just installed Gallery 3. Was able to create some albums and upload photos. Went to Admin options and got the following error when trying to select anything from the menu:
Kohana_Exception [ Framework Error ]: The requested views, admin.html, could not be found
#
SYSPATH/core/Kohana.php[ 806 ]
801 if ($found === NULL)
802 {
803 if ($required === TRUE)
804 {
805 // If the file is required, throw an exception
806 throw new Kohana_Exception('The requested :resource:, :file:, could not be found', array(':resource:' => __($directory), ':file:' =>$filename));
807 }
808 else
809 {
810 // Nothing was found, return FALSE
811 $found = FALSE;
Posts: 47
Did a search for admin.html file with this result
FOUND: gallery3\themes\admin_wind\views
DIDN'T FIND: gallery3\modules\gallery\views
Should I copy the admin.html I could find into the directory where it couldn't find it?
Posts: 16504
That sounds like you're running Apache 1.x on your server. Also, very old software. Are you using GoDaddy or 1&1? Probably time to start looking for a new host. But you might be able to get around the problem (for now) by enabling the rewrite rules. Read the .htaccess file that ships with G3 for more info and what to uncomment and change.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 47
Since I've never edited a .htaccess file, what program do I use to do this? I opened it up on Notepad, but it was one long sentence, and really couldn't make much sense of it. :/
Thx!
Posts: 27300
try wordpad
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 47
Here is revised .htaccess file. Still same error.
<IfModule mod_php5.c>
php_flag short_open_tag On
php_flag magic_quotes_gpc Off
php_flag magic_quotes_sybase Off
php_flag magic_quotes_runtime Off
php_flag register_globals Off
php_flag session.auto_start Off
php_flag suhosin.session.encrypt Off
php_value upload_max_filesize 20M
php_value post_max_size 100M
</IfModule>
# Try to disable the parts of mod_security that interfere with the Flash uploader
#
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
# Increase security by uncommenting this block. It keeps browsers
# from seeing support files that they shouldn't have access to. We
# comment this out because Apache2 requires some minor configuration
# in order for you to use it. You must specify "AllowOverride Limit"
# in your Apache2 config file before you uncomment this block or
# you'll get an "Internal Server Error".
#
# <FilesMatch "(\.(class|fla|inc|sql|txt|gitignore)|(README|LICENSE))$">
# Order allow,deny
# </FilesMatch>
# Improve performance by uncommenting this block. It tells the
# browser that your images don't change very often so it won't keep
# asking for them. If you get an error after uncommenting this, make
# sure you specify "AuthConfig Indexes" in your Apache config file.
#
# <IfModule mod_expires.c>
# ExpiresActive On
# # Cache all files for a month after access (A).
# ExpiresDefault A2678400
# # Do not cache dynamically generated pages.
# ExpiresByType text/html A1
# </IfModule>
# You can use the mod_rewrite Apache module to get rid of the
# "index.php" from your Gallery 3 urls. Uncomment the block below
# inside the <IfModule> ... </IfModule> lines and then edit the
# RewriteBase line to match your Gallery 3 URL.
#
# Here are some RewriteBase values:
# Gallery 3 URL RewriteBase line
# ============= ====================
# http://example.com/gallery3 RewriteBase /gallery3
# http://example.com/~bob/photos RewriteBase /~bob/photos
# http://gallery3.example.com/ RewriteBase /
#
# Then just use your Gallery 3 without the index.php in the url.
#
# NOTE: future upgrades of Gallery 3 will overwrite this file! If you
# want these changes to be persistent, talk to your system admin about
# putting this block into your Apache config files.
#
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /gallery3
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
</IfModule>
Posts: 47
While I wait for a response to my previous post, I decided to try coping the file admin.html to the gallery3\modules\gallery\views directory since this was what the error was saying (see my original question in quote above.) After copying this file into the directory, I am able to access all the features. So I'm not really sure I understand what this had to do with Apache version?
Posts: 7994
Please verify that you're on Unix (cause Windows isn't supported and if weird stuff like this happens on Windows I'm not going to prioritize it -- sorry!)
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 47
Yes, it's on Unix.
Also, I was hoping this new version would resolve some of the issues with Gallery2. So far it's been a big disappointment.
- can't select themes (2 options and neither are clickable),
- no rating system,
- don't even understand how to organize albums (I want 5 categories, but instead of being separate, they are in a vertical tier). This was easy in Gallery2,
- tried to set up a group, but when I click on option the screen goes gray and nothing happens.
- no option for plug-ins
- when I tried to access Gallery3 this morning, it took forever to load up, and no photo were visible. I actually had the same issue with Gallery2, so this could be a server issue.
Now Gallery2 won't allow any of my Registered User accounts to log in. <geeezzzzz>
I really thought this program (v2 or v3) could be viable option for our organization, but I've had nothing but problems and issues since I started. I mean, I can appreciate that this software is free, and there is some (okay, a lot of) customization involved, but when the basic structure doesn't perform as expected on a consistent basis and I can't rely on it, then what am to do? If you or anyone else has any suggestions, I'm all ears!
Thx!
Brewster
Posts: 16504
Wind and Admin Wind are default themes, there's nothing to select until you add other themes to the system and right now there are not many working 3rd party themes. After a final release I expect to see a lot of those 3rd party themes that didn't get updated to work with RC2 to finally get updated.
That would require someone to code a module for that, just like G2
I have no idea what you mean. Can you post a link to your site?
Sounds like you're having some server config issues possibly. Can you post a link to your site?
Downloadable plugins took years to get into G2. There are 3rd party modules available for G3, right now you have to download them yourself.
http://codex.gallery2.org/Category:Gallery_3:Modules
Yes, sounds like a server issue to me.
To help you, we're going to need more information. Can you post a link to phpinfo:
FAQ: How do I create a phpinfo page?
That will allow us to see more information about your environment.
G2 and G3 are completely different software packages and don't share anything in common except for an end goal of your photos on your website. Any functionality you see in G2 that's not in G3 has to be written from the ground up. G3 is a major improvement in many ways (all IMO) than G2, but G2 has many years of development time behind it. G3 already has a larger community developing 3rd party modules and themes before final release than G2 did even a year after it's final release.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 7994
Sorry to hear that you're having problems. None of them sound like dealbreakers, and it sounds like there are some config issues on your side that we could sort out for you. The main thing we need to know is if you're on a supported platform. Please let us know what flavor of Linux, version of Apache and PHP (you can get some of this from Admin > Dashboard, if you've got the admin site working).
Theming: there's a site theme and an admin theme (one for each of the two different major interfaces in the product). You can't click the choices cause they're already active. There are other themes available that you can install and play with here: http://codex.gallery2.org/Category:Gallery_3:Themes
Rating system: Not written yet, sorry.
Organize albums: after you create an album, we take you into it so that you can add photos immediately (it's the most common next operation). Apparently that's confusing though (others have reported confusion). After creating an album, click back up to the top to create a new one that's a peer. Or use the Organize feature to just drag and drop the albums to where you want them to go.
Groups: not sure what's going on there. Please report what's in your error logs (see my signature for info)
Plugins: we call them Modules and have tons and tons of them. http://codex.gallery2.org/Category:Gallery_3:Modules
This software actually isn't free. It's only free for you. It's super costly to us personally to write and support it. We do the best that we can, and I can appreciate that you may not want to invest much of your time and energy into it, but if you'd like it to be better the best thing you can do is to keep an optimistic outlook and help us to improve it.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 47
Thank you for your comments, suggestions and words of encouragement. You are absolutely right about keeping an optimistic outlook, and I will try to do better.
Because G3 is still in development, and lacks many of features available for G2, I've decided to concentrate on G2 right now. With the help of several people in this forum, and re-reading faq, help files, etc., I've been able to resolve most of the issues I was having. Today was probably the most productive day I've had since I downloaded and installed this program over a week ago.
I will donate to this project in any way I can. Even though I make some money working on different projects, I haven't been successful in landing full time employment. All the money I make right now goes to paying bills, etc., and once that turns around, I'll donate some $$$ to the project. I really like what everyone is doing here, and look forward to the future of G3. Also, once I have some extra money, I'll find a good hosting service (I'm currently on slowdaddy.com.)
Thanks again for all your help and feedback!
Brewster
Posts: 27300
brewster,
I hope your employment situation turns around. Money is not the only way to contribute. Documentation, testing and support all take a great deal of effort and is just as valuable as a financial contribution.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 47
Thanks Dave. Never seen economic conditions this bad, even back in the recession of '80. I just keep plugg'n away and hope it will change soon. I'll be happy to help answer questions and offer support as I get to know the software better. I want to keep testing G3, but I think getting a firm grasp of G2 first should help me make a better (and less frustrating) transition. Take care.