unable to access existing pictures after upgrade from beta2 to beta3

plnnightsky

Joined: 2009-10-25
Posts: 11
Posted: Sun, 2009-10-25 04:54

So here's the error:
The page you requested, Public/Kathy's_Public, could not be found.

File: system/core/Kohana.php, line: 841
And here's how we got there:

*

Kohana::show_404( )

* system/core/Event.php [209]:

call_user_func( Array
(
[0] => Kohana
[1] => show_404
)
)

* system/libraries/Router.php [163]:

Event::run( system.404 )

*

Router_Core::setup( )

* system/core/Event.php [209]:

call_user_func( Array
(
[0] => Router
[1] => setup
)
)

* system/core/Bootstrap.php [49]:

Event::run( system.routing )

* index.php [86]:

require( system/core/Bootstrap.php )

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Sun, 2009-10-25 05:18

There was issues with albums/items with special characters in them ' being one of them.
Try an experimental version:
FAQ: How do I upgrade?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-10-25 08:20

https://sourceforge.net/apps/trac/gallery/ticket/812

Is one related bug. If you have ' in the Internet Address you need to change that. If you have removed the Everybody group from viewing, then you also need to change the directory and file names to not contain a space, ' or ~
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
plnnightsky

Joined: 2009-10-25
Posts: 11
Posted: Mon, 2009-10-26 04:28

Thanks, I removed the ' from the internet name and I now can get to the folder with out an error. When I do get there no pictures are displayed, just the file name for the picture. clicking on the name (it thinks there is a picture there, displays a blank image.

I tried indexing under maintenance and this did not help.

The pictures were visible under beta 2.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Mon, 2009-10-26 04:44

Have you upgraded to an experimental version?
URL?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
plnnightsky

Joined: 2009-10-25
Posts: 11
Posted: Mon, 2009-10-26 11:47

Hi Dave

Should have explained more accurately which version I am using. I think I am using the most current experimental version. The best i can tell [/i]I am using Version 3 beta3. If there is a way to tell a more detailed version let me know and I will get it and report back

 
plnnightsky

Joined: 2009-10-25
Posts: 11
Posted: Mon, 2009-10-26 12:12

Still not sure what experimental version is; but here is the output from the gallery log

error: Uncaught Kohana_404_Exception: The page you requested, file_proxy/Picture_328.jpg?m=1252471976, could not be found. in file system/core/Kohana.php on line 841

Here is the error in the apache log

[error] [client 76.10.166.189] File does not exist: /var/www/html/gallery3/var/thumbs/Public/.album.jpg,

How do I tell gallery the files (pictures) are there? The files are still there, verified the files are there as well as .album.jpg

Just to reiterate this happened after the upgrade from Version 3 beta 2 to Version 3 beta 3

P.S. local.php file did not show any errors in the browser. I cut and paste the from the FAQ, did notice what may be a missing closing ">" tried both with and with out. With the closing ">" nothing was displayed in the browser (no content, no error)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Mon, 2009-10-26 13:40
Quote:
I think I am using the most current experimental version. The best i can tell [/i]I am using Version 3 beta3.

Please read this post in the thread:
http://gallery.menalto.com/node/91997#comment-325071 and the link provided.

Once that is done read the bug that nivekiam pointed out in the next post.

Quote:
[error] [client 76.10.166.189] File does not exist: /var/www/html/gallery3/var/thumbs/Public/.album.jpg,

Ask you host if you are allowed to have hidden files like this one.
n Unix-like operating systems, the names of hidden files and hidden directories start with a period character (for example: /home/user/.config) — hence some people may refer to them as dotfiles. How to show or hide them depends on the file manager in use (e.g. mc shows them by default) or ls with the flag -a can reveal otherwise invisible resources: (ls -a).

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
plnnightsky

Joined: 2009-10-25
Posts: 11
Posted: Mon, 2009-10-26 14:32
floridave wrote:
Quote:
I think I am using the most current experimental version. The best i can tell [/i]I am using Version 3 beta3.

Please read this post in the thread:
http://gallery.menalto.com/node/91997#comment-325071 and the link provided.

I followed the command line option (2) to do the upgrade.

Once that is done read the bug that nivekiam pointed out in the next post.

Quote:
[error] [client 76.10.166.189] File does not exist: /var/www/html/gallery3/var/thumbs/Public/.album.jpg,

Ask you host if you are allowed to have hidden files like this one.
n Unix-like operating systems, the names of hidden files and hidden directories start with a period character (for example: /home/user/.config) — hence some people may refer to them as dotfiles. How to show or hide them depends on the file manager in use (e.g. mc shows them by default) or ls with the flag -a can reveal otherwise invisible resources: (ls -a).

This is what I did to get access to directories (removed the ' in the Internet names)

After doing this I posted the errors and not being able to view the pictures which were viewable in Version3 Beta2. I verified the pictures had not moved or changed. The permissions on the original files have not changed. The .album.jpg permissions is presently:
-rw-r--r-- 1 apache apache
Don't know what it was before, didn't check on beta2
The original files have the same permissions (has not changed from beta2)

I have full access to the box. If there is anything I need to do let me know and I will do it right away.

thanks

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22888
Posted: Tue, 2009-10-27 01:37

Perhaps it is easier to just start over?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
plnnightsky

Joined: 2009-10-25
Posts: 11
Posted: Tue, 2009-10-27 16:40
floridave wrote:
Perhaps it is easier to just start over?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

I was thinking the same thing but didn't want to upload all the pictures again. Is there no way to tell Gallery3 to index a directory of pictures?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-10-27 16:51

http://codex.gallery2.org/Gallery3:Modules:serveradd
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-10-28 03:35

Missing pictures issue with Everybody denied viewing has been fixed. Upgrade to the latest experimental code:
http://codex.gallery2.org/Gallery3:Upgrading
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
plnnightsky

Joined: 2009-10-25
Posts: 11
Posted: Tue, 2010-01-05 16:39

It looks like I am at the most current version:

Module name Installed version Available version
Comments 2 2
Exif Data 1 1
Gallery 3 12 12
Image Block 1 1
Info 1 1
Notification 1 1
Organize 1 1
reCAPTCHA 1 1
RSS 1 1
Search 1 1
Server Add 3 3
Slideshow 1 1
Tags 1 1
Users and Groups 1 1

I am still having the same issue.
I am willing to give somebody access, if this will help.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2010-01-05 16:45

That's an old version of Gallery. Upgrade to the latest experimental version. Gallery module should be at version 21 or 22 (can't recall the current version off the top of my head)
http://codex.gallery2.org/Gallery3:Upgrading

Be sure to follow the directions exactly and get the latest code from here: (NOT a Beta release)
http://github.com/gallery/gallery3/zipball/master
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
plnnightsky

Joined: 2009-10-25
Posts: 11
Posted: Tue, 2010-01-05 17:28

First, thanks for pointing me to the correct file.

I have done something wrong. the steps I did are:
done loaded gallery-gallery3-1cab422.zip
-unzipped file, which created a directory gallery-gallery3-1cab422
-copied the var directory and subdirectories from the older version into gallery-gallery3-1cab422 (gallery-gallery3-1cab422/var)
-renamed the older (gallery3) directory gallery3-old2
-move the new directory (gallery-gallery3-1cab422) to the same location as gallery3-old2
-renamed gallery-gallery3-1cab422 to gallery3
-ran php index.php upgrade

Now I get a black screen when i go the the webpage.

What did I miss/do wrong?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2010-01-06 05:09

When you ran www.example.com/index.php/upgrader did you get a screen about upgrading Gallery?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
plnnightsky

Joined: 2009-10-25
Posts: 11
Posted: Thu, 2010-01-07 02:08

No I got a blank screen. The information sent before on the version I got from the www.example.com/index.php/upgrader

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2010-01-07 04:40

Post a link to your site.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
plnnightsky

Joined: 2009-10-25
Posts: 11
Posted: Thu, 2010-01-07 15:13

please send me your email and I will send the link.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Thu, 2010-01-07 16:18

Send me a PM (click Write to author)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2010-01-11 19:41

Sorry it took so long to take a look. It's a busy time for me right now.

I'm getting a 500 server error, even though the page is blank. Are you able to check the server's error logs?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here