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 June 15th, 2005, 02:34 PM   #1 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Classiefieds 2.3 fresh install - error 500

Classiefieds 2.3 fresh install - error 500

Everytime I run the install script I get the error 500 in my browser between step 3 and step 4. (after confirming successfully the GD2 option).

I checked the config file after the error occurs. The absolute path is not in the config file although I have seen it in the browser installation window. The database is correct in the config file and it seems also to have created all database fields. BUT when checking the database, no urls or absolute paths are in the setting fields. Only the neutral paths which came in the zip file.

This is a stand alone installation, no user integration or whatsoever. I choose GD2, nevertheless it showed me the field with the mogrify path in the install window, which I deleted. In the zip file is neither a folder "data" nor a folder "uploads". I do not know whether this is normal, since in the installation instruction those folders are mentioned.

I have on the same server several photopost 5.03 and reviewpost installations, so technically all requirements should be met. I even chmod all files to 777. But still no luck...

How to fix this?

Thanks in advance
snoopy5 is offline   Reply With Quote
Old June 15th, 2005, 04:47 PM   #2 (permalink)
Senior Member
Verified Customer
 
Join Date: Mar 2003
Location: UK
Posts: 1,270
Send a message via MSN to b6gm6n Send a message via Yahoo to b6gm6n Send a message via Skype™ to b6gm6n
Hi..

maybe chucks post here may help in this matter, if you still have no joy please report back thanks

-T
b6gm6n is offline   Reply With Quote
Old June 15th, 2005, 05:35 PM   #3 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Hi Toney,

thanks for your notice. I saw this posting already, but there the error occurs one step earlier in the web-installation process and the server set-up is also differently.

So it seems to be a different problem...
snoopy5 is offline   Reply With Quote
Old June 17th, 2005, 09:37 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
did you also remove the zipcode part?
__________________
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 June 17th, 2005, 10:07 AM   #5 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Hi,

no I did not change anything in the code. IMO there must be something wrong with the install script.

Although during installation, it shows me the correct absolute path in appropriate field. It does neither "write" the paths into the settings field, nor into the config file.

So I do not see what this should have to do with zip codes

I downloaded the zip file on June 15th, so it seems to be the newest download version.
snoopy5 is offline   Reply With Quote
Old June 17th, 2005, 10:50 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Your getting a server error saying it cant process things which could very well have to do with trying to load a 7.5MB file on install


Try this install file and tell me what you get. I have not taken out the zip yet just corrected the path issue with saving the newpath
Attached Files
File Type: txt install.txt (86.7 KB, 5 views)
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; June 17th, 2005 at 10:53 AM.
Chuck S is offline   Reply With Quote
Old June 17th, 2005, 11:55 AM   #7 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Hi omegatron,

I tried that file now, but no success. Same error in the same step. Database is created, but no path is inserted in settings field of the database.

What else can I try?
snoopy5 is offline   Reply With Quote
Old June 17th, 2005, 12:27 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
why not login as admin and change the path.

I dont see any reason why it would not set the path now. Basically before in the old install $PP_PATH was being written as . but I corrected that on this install using the proper variable $newpp_path
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; June 17th, 2005 at 12:46 PM.
Chuck S is offline   Reply With Quote
Old June 17th, 2005, 12:56 PM   #9 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Unhappy

Quote:
Originally Posted by omegatron
why not login as admin and change the path
...you mean via phpmyadmin?

To be honest I would expect that the install script should work for a non-free product, or could at least be fixed...

Anyway, I changed all paths manually now in phpmyadmin, went to the browser into adm-index.php. Layout appears, but on top of that the following error appears:


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in myabsolutepathto/classifieds/forums/sellerspost.php on line 237

So what's next?
snoopy5 is offline   Reply With Quote
Old June 17th, 2005, 03:48 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
It works on a new install I just did with the tweak I did to the new install. $newpp_path is indeed set when I do a complete new install which means $$PP_PATH is set.

Honestly do not know specifically what is happening on your end. The next error means there is a problem with your usergroups table.

list( $User['adminedit'],$User['moderator'],$up_k,$useruploads,$usercomment,$ueditpho,$ueditposts,$User['usemod'],$User['highlight'],$User['bold'],$User['italic'] ) = mysql_fetch_row($resulta);


Does that exist in your database.
__________________
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 June 18th, 2005, 08:30 AM   #11 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Hi Omegatron,

I deleted the whole installation now again. Uploaded again newly. Exchanged the install file again against the one you uploaded in this thread above. I chmod all files to 777.

Now it writes the paths to the config file, but still not into the database. Same error 500 between step 3 and step 4.

I now deleted the mysql database again and in the new install.php, I removed

--------------------------------------------
// Upload the zipcode data (if present)
$query = @file("zipData.sql");

for ( $x=0; $x < count($query); $x++) {
$iquery = $query[$x];
$iquery = str_replace( ";", "", $iquery );
$setup = mysql_query($iquery, $link);
if ( !$setup ) print "<b>Error: ".mysql_error()."</b><br />";
}
------------------------------------------------------------

as proposed in the other thread with the other install problem (see above).

I then run again the install scripts and now it works. So even after fixing the install. php to the new version, there seems to be a problem with the zip codes.

A. How can I now "upgrade" so that the zip codes can be used nevertheless?

B. Can I somehow overwrite the US Zip codes with i.e. German ones and it would work nevertheless?

C. Where to change these zip codes?

Thanks in advance

Last edited by snoopy5; June 18th, 2005 at 08:32 AM.
snoopy5 is offline   Reply With Quote
Old June 18th, 2005, 09:01 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Okay so the install works but you cant process zips. Okay thats fine

You can run the upgrade.php script to import the zipcodes.

We are working on breaking the file apart since its big and alot of people have problems
__________________
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 June 18th, 2005, 08:32 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
I submitted to Michael the fix I did to install and I broke the zipdata into 4 files to see if thats helps people.
__________________
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 June 20th, 2005, 10:44 AM   #14 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
There are still problems with teh backup function, but I will post this in a different thread...

What about the "upload" folder in the download package? In the installation description and in the documents of the download package, it is written that an upload folder does exist in the package. It does not exist in mine.

Any reason for this or does this causes the trouble?
snoopy5 is offline   Reply With Quote
Old June 20th, 2005, 10:48 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
There is an uploads directory in the package I download.
__________________
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 June 20th, 2005, 11:22 AM   #16 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
... sounds not good. In the download zip file of june 14/june15 it does not exist.

How to get that folder now with its content?
snoopy5 is offline   Reply With Quote
Old June 20th, 2005, 11:31 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
I surely exists. Try again and look at the settings on your unzip program as the directory exists.
__________________
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 June 20th, 2005, 11:53 AM   #18 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
Hi

I just downloaded it a second time an extracted it.

Neither an upload folder nor a data folder is included.

a data folder seems to get created when installing the software on the server though. but no upload folder.
snoopy5 is offline   Reply With Quote
Old June 20th, 2005, 12:13 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Then it has to be your extraction program settings which does not create empty folders.
__________________
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 June 20th, 2005, 12:51 PM   #20 (permalink)
Ultimate Member
Verified Customer
 
Join Date: Sep 2002
Posts: 1,172
o.k., if this is an empty folder, can I just add in FTP manually? Or does it have to exist already for the installation process?

The latter question also for the data folder
snoopy5 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
Fresh install error..?? Really Stuck..!! doogle Installs and Upgrade - vBulletin 3.5.X 1 October 12th, 2005 02:14 PM
Fresh install error after first log-in bill03 Classifieds Installation & Upgrades 1 September 1st, 2005 07:57 AM
error with first backup after fresh install snoopy5 Classifieds Installation & Upgrades 6 June 20th, 2005 12:49 PM
error during fresh install alf2g Photopost Pro Installation & Upgrades 1 July 19th, 2004 08:44 AM
Fresh Install 4.8d + Threads .6x and MySQL Error Keet Photopost Pro Installation & Upgrades 4 July 18th, 2004 08:44 PM


All times are GMT -5. The time now is 11:37 AM.

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