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

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old February 2nd, 2005, 02:08 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2002
Location: Albany, Oregon
Posts: 207
Error importing zip code database

Hi guys,

I am seeing this error from the upgrade.php script. I see this when I attempt to import the zip code database:

Quote:
Preparing to insert Zip Code data...

Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 1024 bytes) in /home/httpd/vhosts/classiczcars.com/httpdocs/classifieds/upgrade.php on line 485
gholsie is offline   Reply With Quote
Old February 17th, 2005, 12:15 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Feb 2002
Posts: 247
The file is too large. I'd suggest ftp-ing the file to your server and asking your host if they can import it for you. You'll have to comment out the lines in the install.php file that relate to importing the ZipData database. Don't touch the line that creates the database, just the part that imports the data.
ludachris is offline   Reply With Quote
Old February 21st, 2005, 09:18 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Location: Kansas City
Posts: 69
That worked like a CHAMP. Thanks.

sj
supercub is offline   Reply With Quote
Old February 21st, 2005, 09:24 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Have you downloaded the new distro as we have altered the upgrade and install to allow more memory for this
__________________
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 February 21st, 2005, 09:28 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Location: Kansas City
Posts: 69
Yes, just downloaded it this morning. Still had to comment out the zip line, and my uploads are set much highter than 8mb

sj
supercub is offline   Reply With Quote
Old February 21st, 2005, 09:34 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Your error makes no sense. I just downloaded the zip to be sure as I have done many installs since we fixed the memory problem

This is surely there

ini_set("max_execution_time", 0);
ini_set("memory_limit", "20M");


so if you got a memory error you would need to post it but I think 20M would be sufficient to handle things.
__________________
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 February 21st, 2005, 09:38 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Location: Kansas City
Posts: 69
Yes, it is there. Also, once again it did not import that usergroups from phpbb (same thing that happened on photopost), but I can just do that manually.

I will check php error log and let you know what it says...

sj
supercub is offline   Reply With Quote
Old February 21st, 2005, 09:44 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Same fix as Photopost

In phpbb2.php find this

{$pp_db_prefix}

replace with

{$Globals['pp_db_prefix']}

As far as any errors on the zipcode thing please post them as the thread your trailing on is old and already fixed so since this has been tried on many installs with success I would be interested in knowing your issue.

The zipcode installation took a whole 3 seconds to import the 70604 inserts when I installed classifieds provided the memory override was in place as I posted above.
__________________
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 February 21st, 2005, 10:18 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jan 2005
Location: Kansas City
Posts: 69
Ok, the prefix fix imported two of the 7 usergroups, but it works enough to get admin going, thanks.

I do not find any PHP or HTTP errors, but I did get the blank screen. When I get time, I will try it again as a fresh install. I tried it three times and it did not work, but will do again. No dbout I am doing something stupid.

Thanks for your help.

sj
supercub 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
3.0 upgrade - error when importing zip codes 7thgencivic.com ReviewPost Installation & Upgrades 1 August 26th, 2005 09:05 AM
Zip code error (dropping leading zeros) Rich Z Classifieds Bug Reports 3 April 27th, 2005 12:17 PM
Zip Code upgrades Olney Classifieds Bug Reports 10 January 18th, 2005 10:01 PM
Zip Code Does Not Work joe4 Before You Buy 2 December 22nd, 2004 03:23 PM
Zip Code Error HobbyTalk Classifieds Bug Reports 0 December 3rd, 2004 01:27 PM


All times are GMT -5. The time now is 09:27 PM.

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