[SOLVED] Image Block not working
|
narflet
![]()
Joined: 2004-08-14
Posts: 21 |
Posted: Tue, 2005-07-26 10:36
|
|
I came home after being away and installed B4. It's changed everything, of course, and I'm still getting used to it but I've come across my 1st problem. The image blocks for random etc. images doesn't work in the sidebar. I've selected which blocks I'd want from the 'edit album' page and set those as default in the 'themes' section of site admin too. I see 4 little lines which is where the image blocks should be but no image, title or info is showing up in them. Is it just something I'm not doing and am being too tired to realise or is something else wrong? Thanks ---- |
|


Posts: 32509
- your php version is old, but should be supported.
- you are right that the separator lines in the sidebar are suspicious
can you pm me a g2 admin account? i'd like to see the settings with my own eyes.
Posts: 32509
ok, very odd. another user has a similar problem.
could you post a phpinfo link such that we can try to correlate your configs to isolate the issue?
phpinfo instructions (ignore the rest):
http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F
Posts: 32509
any chance to get ssh or ftp access to debug this issue?
pm me with account info, if possible.
Posts: 21
ok, here is the link:
http://jasmine.wyrdweb.com/~narflet/gallery2/phpinfo.php
I've asked about the chances of getting php upgraded and been grumbled at about php5 install taking hours, so I think that's a 'maybe'.
I don't know about getting ssh access for you (definatley wouldn't be ftp I know that much) but I'll try to find out now.
Posts: 32509
it's very probably not the php version.
i need to debug this either on your or on the server of the other user who has this problem.
btw: i don't think we changed anything since beta 4. but does upgrading to the current nightly version change anything?
Posts: 21
right, fine.
I'd already tried updating to the current nightly before posting and nothing had changed.
still asking if you can have ssh access...
edit: it currently stands at 'the answer is probably a maybe'. helpful :roll:
Posts: 32509
solved:
the problem was:
there were some local/ overrides with old templates.
adding
error_reporting(E_ALL);
to the top of main.php showed the notice and some grepping for the index showed where the old local overrides were.
solved by deleting the old local/ dir.
Posts: 17
What do you mean "solved by deleting the old local/ dir."?
I am having the same problem after upgrading to Gallery2 Beta 4.
Also, Borders are not showing up and when I try to "View Samples" it simply says "none" where the samples should be displayed.
Can you give a detailed solution to the problem? If I simply need to delete the directory "local" sorry for the trouble.
Thanks,
--Mobrien
Posts: 32509
by borders you probably mean frames. this is another topic and i guess it's solved by refreshing your page in the browser and clean your browser cache.
by local dirs i mean that you have to delete all customized template (.tpl) files when upgrading from beta 3 to beta 4.
and you may also want to try to flush your template cache.
Posts: 17
I'm sorry for being a novice. I haven't fooled around with Gallery2 that much. Yes, I did mean frames. How do I delete the customized template files? Which files can I safely delete? Is it ok to do AFTER upgrading to Beta 4?
Sorry to be such a pain in the butt. I just really don't want to screw anything up, and I'd like to get it back to working properly.
Thanks for your help. Gallery2 is fantastic!
Posts: 32509
if you havented created any local/ folders, copied .tpl files, changed them manually etc. (you would know if you did, right? ;) ), then you don't have to care about them.
flush the db cache and the templates cache in site admin -> maintenance.