No access to gallery after upgrade from 2.2.1 to 2.3
timoe
Joined: 2009-03-08
Posts: 11 |
Posted: Sun, 2009-03-08 21:58 |
I did a upgrade for 2.2.1 to 2.3. I replaced all the old files by the new ones. After that I runned the upgrade tool. It never gave a error and it said everything was fine. It gave a succesfull upgrade. But now, when I try to access my gallery it just displays a blank page. The website is http://www.foto.septillion.nl Does anyone knows how to fix it? Thanx in advance, Timo |
|
Posts: 27300
http://foto.septillion.nl/main.php
your server has some redirect loop if I go to http://foto.septillion.nl/
so try:
http://foto.septillion.nl/main.php
also, you don't have any css files loading
it says:
<link rel="stylesheet" type="text/css" href="/main.php/themes/matrix/theme.css"/>
It does not need the main.php in the href. Is it a customized theme?
See if editing config.php the last couple of lines:
did you have the url rewrite module activated before your upgrade?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 11
Thnx for your reaction. It's not a custom theme. Before the update there only was a custom CSS running. But i replaced the hole theme with the one from gallery 2.3. I edited the lines in de config.php. I removed index.php in the define rule but no change at all. I was indeed running URL rewrite when I updated my gallery.
As extra information, I first just ciopied the new files over the old ones and tried to upgrade which say everything was succesfull only there were some old files still on the sever that gallery no longer used. Because after that gallery didn't work i made a clean folder with only new gallery 2.3 files. (Renamed the "old"folder and uploaded al the gallery 2.3 files into the orginal folder) and added the module files from the old install into the clean instal folder. That's what's running atm. But it's compleetly the same, still not working
Timo
Posts: 4342
Er... but doesn't that mean you just overwrote the upgraded modules with the old code?
Posts: 11
No, i only added the modules that are not in the typical installation. So nothing is overwritten.
Timo
Posts: 4342
Which modules did you add? Try removing them, and running with the stock 2.3 installation. Also for blank page problems see FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?
Posts: 11
I did add the following modulkes:
Module: remote
Module: sizelimit
Module: imageblock
Module: imageframe
Module: mp3audio
Module: dynamicalbum
Module: sitemap
Module: bulkmanage
Module: mime
Module: getid3
Module: statistics
Module: uploadapplet
Module: itemadd
Module: bulkupload
Module: watermark
After replacing the "mixed" module folder with the module folder from the typical install i still get a enless loop. /main.php results in
After that I tried to run de upgrader. This resulted in the error, Can't upgrade Core module.
I enabled the debug mode ($gallery->setDebug('buffered');) the direct url still does not show a page. /main.php gives
Timo
Posts: 4342
Half of those are included with the distribution, and may well have been upgraded, so you either overwrote the new code or used module code that's incompatible with 2.3 and should have been upgraded.
Posts: 11
Non of those modules are in the typical set so nothing is overwritten. But this time I added al those modules from the full installer set (gallery 2.3). But the modules statistics, bulkmanage and bulkupload are not in there. After that i runned the upgrader and it upgraded all the modules this time but it still gave the same error on the core module.
[url]www.foto.septillion.nl/main.php[/url] now displays a gallery (with css) but without the pictures. Also i can't enter a album.
I hope i'm on the right track.
Timo
Posts: 27300
Your images are being delivered like:
http://www.foto.septillion.nl/?g2_view=core.DownloadItem&g2_itemId=220238&g2_serialNumber=3
note the missing main.php before the ?g2_view
I don't know why.
Also of note is that this url:
http://www.foto.septillion.nl/ is a redirect loop
Do you have a .htaccess file?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 11
I noticed that the main.php was missing. In the version that's online at the moment (the clean set of files right from the zip) there's no .htaccess. In the original there was one. So after the replace attemp of getting 2.3 there was a .htaccess as well.
The .htaccess
Timo
Posts: 27300
FAQ: How can I make sure that my installation files are all intact?
Deactivate the url rewite module if active and delete the .htaccess file.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 11
The main.php wasn't really missing, only in the url. I fixed it aswell as i fixed the redirect loop by setting up
define('GALLERY_MAIN_PHP', 'main.php')
instead of
define('GALLERY_MAIN_PHP', '')
like floridave said in his first post. I also checked if rewrite was active but it wasn't and there is no .htaccess.
Now the gallery seems to start to show some life. It's showing some pictures but some only the top. I also can't login to go to the backend.
Timo
Posts: 27300
I would just re-highlight the image you want as the highlight image.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 10
i am having the same issues for http://www.nickhartcher.com/gallery/main.php
any ideas?
Posts: 27300
triggerman,
plase start a new thread. the url provided gives a blank page.
FAQ: What information is required when I ask for help in the forums?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team