![]() |
|
STAFF PLZ READ - In reguard to a past post... - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: STAFF PLZ READ - In reguard to a past post... (/thread-3697.html) Pages:
1
2
|
STAFF PLZ READ - In reguard to a past post... - code - 2008-09-05 Past Post: Okay well, I dunno the problem, but I do believe new versions of zenphoto is taking up too much memory...some how, even modifying the php.ini file doesnt work (for me)... I insisted that it did work in the past but not anymore.. GO HERE: Download the file, upload it to the latest zenphoto and see if its too big for you... It wont work for my current version (nightly build) last night I went down the nightly build list and downlaoded an older version (randomly picked) and it works... STAFF PLZ READ - In reguard to a past post... - acrylian - 2008-09-05 That image seems to work on your site, at least I could see it normally. Also it does work on my localhost with 96MB, but not on my webspace with 32MB which is no surprise though. STAFF PLZ READ - In reguard to a past post... - Topspin - 2008-09-05 I've been having the same problem on a site I'm developing. From looking at what [i]code[/i] found, I tried reverting to an older version of i.php. This seemed to fix the problem. I then tried to narrow it down to what was different from version 1.1.7 to v1.2. I commented out the following code in i.php and this seemed to work, but don't ask me why: `// Set the memory limit higher just in case -- supress errors if user doesn't have control. /if (ini_get('memory_limit') < '128M') {/
/}/` STAFF PLZ READ - In reguard to a past post... - sbillard - 2008-09-05 So this is why you should use the current nightly build which has corrected that line of code. STAFF PLZ READ - In reguard to a past post... - code - 2008-09-06 so which nightly build? I believe I used the one from last night until it didnt allow some thumbnails... I have always used the nightly build... I will try. What about functions.php? It also has that too STAFF PLZ READ - In reguard to a past post... - code - 2008-09-06 For me, using the latest build available to download as of now... It still doesnt work for me... I gtg tho ill bbl in a few hours.. STAFF PLZ READ - In reguard to a past post... - code - 2008-09-06 I believe it is something else... Because it still doesnt work... STAFF PLZ READ - In reguard to a past post... - sbillard - 2008-09-06 What does admin say your memoroy size is? STAFF PLZ READ - In reguard to a past post... - code - 2008-09-07 1.1.6 doesnt have that... I will Look at current zenphoto to add the code to display the memory... So I can see... STAFF PLZ READ - In reguard to a past post... - code - 2008-09-07 128M of memory...I currently dont use a php.ini file... STAFF PLZ READ - In reguard to a past post... - code - 2008-09-07 Right now im uploading my albums again to the /test/ directory of my site (nightly build) I had to modify the database to menually create an admin user since there is a bug... I am going to try and make identical sites except one version is older and works the newer doesnt... I am either confusing myself of you guys or both! I will try to get to the bottom of this... :S STAFF PLZ READ - In reguard to a past post... - code - 2008-09-07 Okay, two identical zenphoto setups... http://luckyshotphotos.com/ 1.1.6 [1567] I modified i.php and functions.php on the 1.2 version to modify the memory limit: // Set the memory limit higher just in case -- supress errors if user doesn't have control. I did that, but as you can see from the sites, its still not working... Any ideas? STAFF PLZ READ - In reguard to a past post... - acrylian - 2008-09-07 It seems that there indeed a bug sneaked in... I always resize images before uploading so I probably didn't notice... STAFF PLZ READ - In reguard to a past post... - code - 2008-09-07 I have no idea how much bug fixing/changing code you guys have done... I compared my two zenphoto galleries, and wow some files have huge differences, some look almost completly re-written (for the most part) I wouldn't even know where to look for a bug... :S STAFF PLZ READ - In reguard to a past post... - code - 2008-09-07 Oh btw, I been playing with themes...So...it might look a lil diff now... Lol STAFF PLZ READ - In reguard to a past post... - code - 2008-09-07 A Nice option would be, if it is or isnt a memory_limit problem, is to at least make an option in admin panel to input the memory instead of it being hard coded (basically) to 96MB STAFF PLZ READ - In reguard to a past post... - acrylian - 2008-09-07 Well, I have no idea where to look, too, I did simply not work on those code parts. Actually the memory is not hardcoded, the lines tell Zenphoto to try to raise the memory limit if possible (it's not on my host so I get a warning). Actually I think this is something we should not do with Zenphoto at all since probably most people will be on shared hosts. STAFF PLZ READ - In reguard to a past post... - code - 2008-09-07 Ya, well i mean the amount of memory it goes to is hard coded, if its lower STAFF PLZ READ - In reguard to a past post... - acrylian - 2008-09-07 Ok, now I understand.. STAFF PLZ READ - In reguard to a past post... - sbillard - 2008-09-07 You have the option of changing it in your PHP.ini file which is the proper place to make the change. The code in zenphoto is there as a fallback. It will not work on all servers. The proper place to make this change is in the PHP.ini. We will not be making an option for it, partly because we don't necessarily want to add to the memory footprint to get the option handler into i.php so it can figure out how much memory to request. |