https://www.icyphoenix.com/viewtopic.php?f=35&t=188
-----------------------------------
andrea75
Sun 27 Aug, 2006 13:50

Bug In Album?
-----------------------------------
WhyI see only a part of images when I open a thumbnail?

http://www.umbriaforum.com/album.php

 :|


-----------------------------------
KugeLSichA
Sun 27 Aug, 2006 14:08

Re: Bug In Album?
-----------------------------------
:shock: really strange... i dont have this error


-----------------------------------
difus
Sun 27 Aug, 2006 14:38

Re: Bug In Album?
-----------------------------------
I am thinking it is server problem

or time or size limit  :?

how is working your download?[not upload]


-----------------------------------
Mighty Gorgon
Sun 27 Aug, 2006 15:18

Re: Bug In Album?
-----------------------------------
[quote user="andrea75" post="1396"]WhyI see only a part of images when I open a thumbnail?

http://www.umbriaforum.com/album.php

 :|[/quote]
Yes, I think that the problem is on your side... if I remember well, you used to have problems even with LIW, and all GD related functions... :wink:

If you try opening the mid_thumb, the image is opened correctly, so the image isn't corrupted:

http://www.umbriaforum.com/album_picm.php?pic_id=577

I think you should ask your provider to fix GD problems definitely. :wink:


-----------------------------------
andrea75
Sun 27 Aug, 2006 17:28

Re: Bug In Album?
-----------------------------------
Now I haven't got any problem with GD or LIW... only the albun doesn't work..... now I'll try to disable GD.


-----------------------------------
difus
Sun 27 Aug, 2006 17:33

Re: Bug In Album?
-----------------------------------
your OTF gallery is working.
but why your pictures are opening in new window?
and after refresh is showing picture location  :?


-----------------------------------
andrea75
Sun 27 Aug, 2006 17:52

Re: Bug In Album?
-----------------------------------
[quote user="difus" post="1485"]your OTF gallery is working.
but why your pictures are opening in new window?
and after refresh is showing picture location  :?[/quote]

I don't know! :( Nothing works in album..... all file seems to be ok...


-----------------------------------
difus
Sun 27 Aug, 2006 18:23

Re: Bug In Album?
-----------------------------------
sorry ,but it is funny 

never seen that

try to upload a bigger picture in OTF.we'll test it
try to change some settings in ACP>album


-----------------------------------
andrea75
Sun 27 Aug, 2006 19:01

Re: Bug In Album?
-----------------------------------
[quote user="difus" post="1491"]sorry ,but it is funny 

never seen that

try to upload a bigger picture in OTF.we'll test it
try to change some settings in ACP>album[/quote]

OTF? What is this?  :oops:


-----------------------------------
Mighty Gorgon
Sun 27 Aug, 2006 21:57

Re: Bug In Album?
-----------------------------------
[quote user="andrea75" post="1484"]Now I haven't got any problem with GD or LIW... only the albun doesn't work..... now I'll try to disable GD.[/quote]
Trust me... your host have limited in some way the getimagesize function... maybe it's a problem of memory limit.

Try to insert this at the beginning of your [b]album_common.php[/b]
[codeblock]ini_set("memory_limit","16M");[/codeblock]

[quote user="difus" post="1485"]your OTF gallery is working.
but why your pictures are opening in new window?
and after refresh is showing picture location  :?[/quote]
In OTF gallery there are only small pictures, that could be the reason...

[b]andrea75[/b], try to upload via FTP some big images into [b]album_mod/uploads/otf/demo/[/b] then try to launch [b]album_otf.php[/b].


-----------------------------------
andrea75
Mon 28 Aug, 2006 09:04

Re: Bug In Album?
-----------------------------------
[quote user="Mighty Gorgon" post="1528"]
Trust me... your host have limited in some way the getimagesize function... maybe it's a problem of memory limit.

Try to insert this at the beginning of your [b]album_common.php[/b]
[codeblock]ini_set("memory_limit","16M");[/codeblock][/quote]

Nothing change with this, and in OTF all works fine....

But I see a really strange thing... If I call images from post with [albumimg] tag all works fine

http://www.umbriaforum.com/viewtopic.php?p=21042#21042

The same image, but called from album doesn't showm correcly!  :shock: It's impossible!  :(


-----------------------------------
difus
Mon 28 Aug, 2006 10:10

Re: Bug In Album?
-----------------------------------
interesting thing
when I save the image ,it is all image

try to replace  album_showpage.php in root


-----------------------------------
difus
Mon 28 Aug, 2006 10:59

Re: Bug In Album?
-----------------------------------
more

now I can see your watermark

can you temporary change it to default

or switch off it


-----------------------------------
andrea75
Mon 28 Aug, 2006 11:16

Re: Bug In Album?
-----------------------------------
[quote user="difus" post="1569"]interesting thing
when I save the image ,it is all image

try to replace  album_showpage.php in root[/quote]

Album_shopage is ok... and watermark is off now


-----------------------------------
difus
Mon 28 Aug, 2006 11:58

Re: Bug In Album?
-----------------------------------
:mrgreen: 

one is working, second -no

after  refresh - all OK.oh yes it is cache.clear cache

 images is opening in same window  now  

when did it happened ? after update to 058 

but full images are not opening


-----------------------------------
andrea75
Mon 28 Aug, 2006 12:12

Re: Bug In Album?
-----------------------------------
[quote user="difus" post="1578"]:mrgreen: 

one is working, second -no

after  refresh - all OK.oh yes it is cache.clear cache[/quote]

Cache of album or general cache?

[quote user="difus" post="1578"]images is opening in same window  now  

when did it happened ? after update to 058 ?[/quote]

I'm sure after 58 upgrade... before all worked fine.


-----------------------------------
difus
Mon 28 Aug, 2006 12:17

Re: Bug In Album?
-----------------------------------
[quote]Cache of album or general cache?
[/quote]

all


-----------------------------------
difus
Mon 28 Aug, 2006 12:33

Re: Bug In Album?
-----------------------------------
just upload throughFTP a big picture directly into Galleria Veloce


-----------------------------------
andrea75
Mon 28 Aug, 2006 13:45

Re: Bug In Album?
-----------------------------------
Cache cleared, but the problem remain.... only if I refresh page all works good


[quote user="difus" post="1588"]just upload throughFTP a big picture directly into Galleria Veloce[/quote]

OTF works fine!  :(  :cry: I don't know what I have to do.....


-----------------------------------
difus
Mon 28 Aug, 2006 14:20

Re: Bug In Album?
-----------------------------------
yes it sounds your server works good

try to replace [color=#ff00ff]all[/color] album files and tpl .make backup !.optimize database


-----------------------------------
andrea75
Mon 28 Aug, 2006 14:35

Re: Bug In Album?
-----------------------------------
[quote user="difus" post="1598"]yes it sounds your server works good

try to replace [color=#ff00ff]all[/color] album files and tpl .make backup !.optimize database[/quote]

All album files (album*.php in root, the album_mod folder and all album*.tpl) are replaced with original, database optimized, and and all cache cleared. The permissions on folders are ok... mumble mumble... I can try to check all files interested by FAP. No other things I have on my mind. 
Do you think that can be some errors in DB? In this case if someone give me all tables of FAP and all settings interested in phpbb_config I can try to solve them, even if I'm not sure that the problem is in the DB........


-----------------------------------
difus
Mon 28 Aug, 2006 17:31

Re: Bug In Album?
-----------------------------------
needs MG help for FAP


-----------------------------------
andrea75
Mon 28 Aug, 2006 21:13

Re: Bug In Album?
-----------------------------------
[quote user="difus" post="1607"]needs MG help for FAP[/quote]

OK, I'll wait MG, but it's strange... all is very strange... all seems to be ok, but nothing is ok...  :( 
The med_thumbnail works if you refresh the page, but the full images doesn't work in any way. I make all test possible, but I don't resolve the problem.

MG, HELP ME! :cry:


-----------------------------------
Mighty Gorgon
Tue 29 Aug, 2006 00:01

Re: Bug In Album?
-----------------------------------
It's a problem of your hosting... it's not an XS problem! :wink:

If you don't mind having the images shown with the full path, I'll suggest you a modification to fix your problem... :wink:

Or you can try with this file (disable watermark just to make sure not to charge your server of other work).


-----------------------------------
andrea75
Tue 29 Aug, 2006 08:43

Re: Bug In Album?
-----------------------------------
[quote user="Mighty Gorgon" post="1678"]It's a problem of your hosting... it's not an XS problem! :wink:[/quote]

I know that .... I'm here just to find a solution, but I know that this is my problem... :(

[quote user="Mighty Gorgon" post="1678"]Or you can try with this file (disable watermark just to make sure not to charge your server of other work).[/quote]

No, doesn't works... now I'll try to upload a clean version of XS in other folder, so I can understand if problem is in files or in hosting


-----------------------------------
Mighty Gorgon
Sat 02 Sep, 2006 14:25

Re: Bug In Album?
-----------------------------------
Andrea...

Try adding this to your [b]common.php[/b]

[codeblock]ini_set("memory_limit","12M"); [/codeblock]

Or you may try using these files...


-----------------------------------
andrea75
Sat 02 Sep, 2006 16:32

Re: Bug In Album?
-----------------------------------
[quote user="Mighty Gorgon" post="2180"]Andrea...

Try adding this to your [b]common.php[/b]

[codeblock]ini_set("memory_limit","12M"); [/codeblock]

Or you may try using these files...[/quote]

Thanks Mighty, but the problem was in DB. I passed to XS1 from a MBMF version, where I installed an old version of FAP. In the DB had remained a table called "sp_config", that evidently disturbed something after installation of the 058 version. I have eliminated that table and all now works well.


-----------------------------------
Mighty Gorgon
Sat 02 Sep, 2006 22:41

Re: Bug In Album?
-----------------------------------
Glad you solved... but you should post here that you have solved... so I can help someone else instead of trying to solve what has already been solved... :sad:


-----------------------------------
andrea75
Sun 03 Sep, 2006 09:13

Re: Bug In Album?
-----------------------------------
[quote user="Mighty Gorgon" post="2240"]Glad you solved... but you should post here that you have solved... so I can help someone else instead of trying to solve what has already been solved... :sad:[/quote]

Well... I solved just yesterday... few minutes before your post ;)


-----------------------------------
Jarrod
Tue 05 Sep, 2006 00:52

Re: Bug In Album?
-----------------------------------
This is bizarre, I have a similar problem where only half a large image is appearing, mid thumbails loading fully when refreshing etc but I don't have a table called sp_config sadly. I think you must have done something else to get round this problem


-----------------------------------
Mighty Gorgon
Tue 12 Sep, 2006 10:56

Re: Bug In Album?
-----------------------------------
That is not the problem... try the files I've attached a couple of posts ago.


-----------------------------------
andrea75
Tue 12 Sep, 2006 12:58

Re: Bug In Album?
-----------------------------------
My problem was different, and was in the DB. I had find an old table from an old version of FAP. I have solved the problem deleting this table.


-----------------------------------
Jarrod
Tue 12 Sep, 2006 13:29

Re: Bug In Album?
-----------------------------------
I decided to change my album_pic.php and album_picm.php files which has worked but it now means I'm using something effectively out of date.. I wish I knew what change between 048 and 052 caused these conditions


-----------------------------------
Mighty Gorgon
Sun 01 Oct, 2006 19:57

Re: Bug In Album?
-----------------------------------
[quote user="Jarrod" post="2762"]I decided to change my album_pic.php and album_picm.php files which has worked but it now means I'm using something effectively out of date.. I wish I knew what change between 048 and 052 caused these conditions[/quote]
New album files are using a new images class to manage pictures, so now it's possible to have thumbnails even of PNGs and GIFs. This class is requiring an higher level of memory, so if you are experiencing problems you should try to raise your memory limit to 8 or 12 MB.

Anyway, FAP 1.4.0 will be out soon, and I hope to have found a way to reduce the memory needed. :wink:


