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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 22nd, 2005, 10:53 PM   #1 (permalink)
Registered User
 
Join Date: Jun 2005
Location: Oregon
Posts: 15
Send a message via AIM to Michelle Send a message via Yahoo to Michelle
newbie with error problem

I am very new to this and earlier today I uploaded two pics and that went just fine, but then I went in and deleted one to edit it and tried to upload it and got thFatal error:

Allowed memory size of 8388608 bytes exhausted (tried to allocate 5120 bytes) in /home2/scrcou11/public_html/image-inc.php on line 84is error message:

Can someone explain to me what I need to do to fix this? Thanks so much!!

Michelle
Michelle is offline   Reply With Quote
Old June 23rd, 2005, 05:59 AM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Posts: 1,319
Hi..

In uploadphoto.php beneath

require"pp-inc.php";

add this

ini_set("memory_limit", "32M");

Should be ok...

-T
b6gm6n is offline   Reply With Quote
Old June 23rd, 2005, 02:05 PM   #3 (permalink)
Registered User
 
Join Date: Jun 2005
Location: Oregon
Posts: 15
Send a message via AIM to Michelle Send a message via Yahoo to Michelle
Red face

I don't mean to sound stupid but I am not sure how to go there. I went to my control panel and found uploadphoto.php but after that I was lost. Could you give me a little more instructions? Thank you so much!!
Michelle is offline   Reply With Quote
Old June 23rd, 2005, 02:17 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
You need to right click and EDIT the file in ftp or if your using cpanel I beleive if you click the file on the right side of the window pane you will have options to edit delete etc. Hit edit and make the change then hit save
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 23rd, 2005, 02:46 PM   #5 (permalink)
Registered User
 
Join Date: Jun 2005
Location: Oregon
Posts: 15
Send a message via AIM to Michelle Send a message via Yahoo to Michelle
Ok, I found it and added it and it is still doing the same thing.
Michelle is offline   Reply With Quote
Old June 23rd, 2005, 04:00 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
The same error message?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 23rd, 2005, 04:01 PM   #7 (permalink)
Registered User
 
Join Date: Jun 2005
Location: Oregon
Posts: 15
Send a message via AIM to Michelle Send a message via Yahoo to Michelle
Yeah the exact same one

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 5120 bytes) in /home2/scrcou11/public_html/image-inc.php on line 84

Last edited by Michelle; June 23rd, 2005 at 04:03 PM.
Michelle is offline   Reply With Quote
Old June 23rd, 2005, 04:10 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Okay then apparently your edit of the file did not happen.

That line sets the memory limit on php up to 24M so if your getting an error that php has only 8M your file edit was not saved.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 23rd, 2005, 05:05 PM   #9 (permalink)
Registered User
 
Join Date: Jun 2005
Location: Oregon
Posts: 15
Send a message via AIM to Michelle Send a message via Yahoo to Michelle
I copied this off my control panel, I wanted to make sure this is what it is supposed to look like.


define( THIS_SCRIPT, "uploadphoto" );
require "pp-inc.php";
ini_set("memory_limit", "32M");
require "{$Globals['PP_PATH']}/image-inc.php";

$allowed = array(
'img' => array('src')


It is still giving me the error after I saved it. am I doing something wrong?
Michelle is offline   Reply With Quote
Old June 23rd, 2005, 05:16 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
How about you move it to bulkupload.php find this line

ini_set("max_execution_time", 0);

below it 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 online now   Reply With Quote
Old June 23rd, 2005, 05:29 PM   #11 (permalink)
Registered User
 
Join Date: Jun 2005
Location: Oregon
Posts: 15
Send a message via AIM to Michelle Send a message via Yahoo to Michelle
Thank you so much!! It worked I really appreciate all your help!!!
Michelle is offline   Reply With Quote
Old June 23rd, 2005, 09:25 PM   #12 (permalink)
Registered User
 
Join Date: Jun 2005
Location: Oregon
Posts: 15
Send a message via AIM to Michelle Send a message via Yahoo to Michelle
Unhappy

Ok, well it worked one time then when I went to upload another pic this is what it said at the top of the page:

Warning: imagejpeg(): Unable to open '/home/scrcou11/public_html/data/550/medium/000_0001.JPG' for writing in /home2/scrcou11/public_html/image-inc.php on line 121

Warning: filesize(): Stat failed for /home/scrcou11/public_html/data/550/medium/000_0001.JPG (errno=2 - No such file or directory) in /home2/scrcou11/public_html/image-inc.php on line 591

Warning: fread(): supplied argument is not a valid stream resource in /home2/scrcou11/public_html/image-inc.php on line 591


and in the box in the middle it said:

Unable to read the format of file: /home/scrcou11/public_html/data/550/medium/000_0001.JPG

What should I do?
Michelle is offline   Reply With Quote
Old June 23rd, 2005, 09:29 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Change your path statements in config and global options from

/home/scrcou11/public_html

to

/home2/scrcou11/public_html
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 23rd, 2005, 09:46 PM   #14 (permalink)
Registered User
 
Join Date: Jun 2005
Location: Oregon
Posts: 15
Send a message via AIM to Michelle Send a message via Yahoo to Michelle
Where do I find that? Is that in control panel, if so then where?
Michelle is offline   Reply With Quote
Old June 23rd, 2005, 10:53 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
If you login to photopost as admin in the admin side modify the path statement in config and the two path statements in global options to reflect the proper path
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 23rd, 2005, 11:00 PM   #16 (permalink)
Registered User
 
Join Date: Jun 2005
Location: Oregon
Posts: 15
Send a message via AIM to Michelle Send a message via Yahoo to Michelle
now it says:

Warning: imagejpeg(): Unable to open '/home2/scrcou11/public_html/data/550/medium/000_0001.JPG' for writing in /home2/scrcou11/public_html/image-inc.php on line 121

Warning: filesize(): Stat failed for /home2/scrcou11/public_html/data/550/medium/000_0001.JPG (errno=2 - No such file or directory) in /home2/scrcou11/public_html/image-inc.php on line 591

Warning: fread(): supplied argument is not a valid stream resource in /home2/scrcou11/public_html/image-inc.php on line 591


and:

Unable to read the format of file: /home2/scrcou11/public_html/data/550/medium/000_0001.JPG
Michelle is offline   Reply With Quote
Old June 23rd, 2005, 11:11 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
Check your data and uploads directories as well as there subdirectories and make sure they are 777
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 23rd, 2005, 11:13 PM   #18 (permalink)
Registered User
 
Join Date: Jun 2005
Location: Oregon
Posts: 15
Send a message via AIM to Michelle Send a message via Yahoo to Michelle
where do I find those?
Michelle is offline   Reply With Quote
Old June 23rd, 2005, 11:49 PM   #19 (permalink)
Registered User
 
Join Date: Jun 2005
Location: Oregon
Posts: 15
Send a message via AIM to Michelle Send a message via Yahoo to Michelle
Never mind I found them and they were at 777 already.
Michelle is offline   Reply With Quote
Old June 24th, 2005, 08:27 AM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,702
You sure here? all of them

--data
--500
--medium
--thumbs
--mini

Link to your php info so I can check your path
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Newbie Install with VB3.5 Question anthroa Photopost Pro Installation & Upgrades 5 October 26th, 2005 08:16 AM
Newbie here, in need of help. jannybear Photopost Pro Installation & Upgrades 1 August 28th, 2005 11:42 AM
Newbie ?s for vb 3.03 street Photopost Pro Installation & Upgrades 2 November 14th, 2004 07:36 AM
Newbie installation error...please advise turnwood Photopost Pro Installation & Upgrades 5 November 1st, 2004 07:12 AM
Stupid questions from a newbie scrap32 Photopost Pro Installation & Upgrades 2 October 20th, 2004 11:31 AM


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

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