PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old December 26th, 2005, 02:03 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 172
New Error after Server Movement on Recent and Most Popular PALS on index.php

I recently moved my server from one to another and the entite re-install has gone very well although im getting this error :

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /var/www/html/gallery/showphoto.php on line 240

when I try to click on any of the images in these pals..what could be wrong?
kisii is offline   Reply With Quote
Old December 26th, 2005, 11:52 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 172
BTW , when i look up the showphoto.php line 240 and change the variable from yes to "no", the links off the images of the PAL work but now the NExt anD Previous buttons dont show at all and also when I upload new images, they do not show on the index as the most recent ones.
kisii is offline   Reply With Quote
Old December 26th, 2005, 03:17 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
HMM well you must be using an old Photopost I really don't know what to say as the lines aren't matching to what I see so try this in showphoto.php add the line in bold

error_reporting (E_ALL ^ E_NOTICE);
ini_set("memory_limit", "32M");
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 26th, 2005, 04:01 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 172
Chuck,

im using 5.21 and the showphoto.php line 240 has those lines and I cant find " error_reporting (E_ALL ^ E_NOTICE); " line...are we looking at same file.
kisii is offline   Reply With Quote
Old December 26th, 2005, 04:28 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
If your using 5.21 line 240 is a blank line so I don't think your file is current. Also the line I meantion is at the top of showphoto.php
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 26th, 2005, 05:33 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 172
chuck I have cheked the file again..here is the code> I think you are reffering to a different php file: I have even ran a search on the file there i s no intance of (E_ALL ^ E_NOTICE); .

Here is what on line 240 - 245:

while ( list($npid, $npbig, $npcat, $npuserid, $npapp, $npstore, $npheight, $npwidth) = mysql_fetch_array($rows) ) {
if ( is_image_private($npcat) == "no" ) {
$ref++;
$ids[$ref]= array( $npid, $npbig, $npcat, $npuserid, $npapp, $npstore, $npheight, $npwidth );
if ( $ids[$ref][0] == $photo ) {
$curr = $ref;

Last edited by kisii; December 26th, 2005 at 05:36 PM.
kisii is offline   Reply With Quote
Old December 26th, 2005, 05:48 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
The line you meantion is line 244 of the showphoto.php file in photopost 5.21

I would suggest you find this at the top of the file and put the bold line I meantioned then

define( 'THIS_SCRIPT', "showphoto" );
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 26th, 2005, 06:42 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 172
Chuck - thats seems to work like a charm -- thanks ALOT.
kisii is offline   Reply With Quote
Old December 29th, 2005, 08:51 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 172
Chuck , im getting a similar error when uploading pictures :

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2304 bytes) in /var/www/html/gallery/image-inc.php on line 84

What coudl be wrong and wht is causing these errors?
kisii is offline   Reply With Quote
Old December 29th, 2005, 09:32 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Well thats a PHP memory exhaustion error and not a program error. Maybe your uploading large files and with only 8mb of memory for PHP and your using GD you will see this alot. Same edit just different file. Increase php mempry

In uploadphoto.php somewhere up top near say

require "pp-inc.php";

add this

ini_set("memory_limit", "32M");
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 30th, 2005, 08:25 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Dec 2004
Posts: 172
Thanks chuck, that only seemed to allow one of the admin accounts to upload the files. Do you think it will help to upload a a custom php.ini file into the root folder with more memory allocated?
kisii is offline   Reply With Quote
Old December 30th, 2005, 08:41 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
that tweak would not be usergroup specific

double check your usergroup permissions and you can always flush the contents out of the uploads folder on your install

If you have the ability to edit the php.ini sure just set the variables to what you want.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can i put php in custom sidebar pals? scrapster Photopost Pro How Do I...? 5 January 3rd, 2007 09:35 PM
Error when installing Zend to PHP server( NOT A BUG ) dp Photopost Pro Bug Reports 1 December 12th, 2005 06:04 AM
Center "Recent Photos" title on index.php bcjewel Photopost Pro How Do I...? 1 August 25th, 2005 08:25 AM
Unregistered visitors can not see thumbnails of Recent Posts on index.php billwinkle Photopost Pro Installation & Upgrades 5 July 4th, 2004 10:38 AM


All times are GMT -5. The time now is 05:19 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0