PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   Install Problem (http://www.photopost.com/forum/classifieds-installation-upgrades/113991-install-problem.html)

offline May 20th, 2005 09:10 PM

Install Problem
 
Everytime I run the install script the is the error I get from the http server between step 2 and step 3. It creates the database but then gives me a 500 error.

Code:

Content visible to verified customers only.

b6gm6n May 21st, 2005 02:32 AM

Hi..

This might be due to your host not having the image libuary 'GD' installed with php, ask your host about this.

-T

offline May 25th, 2005 09:11 AM

I actually found the biggest problem was my host provider was running an old version of php. NOW I get a memory error...

Code:

Content visible to verified customers only.
So how do I fix this?

Chuck S May 25th, 2005 10:21 AM

What version of PHP?

You can surely try altering php memory to add more in the ini_set("memory_limit", "24M");

You would simply change 24M to something higher

What error do you get on screen the login errors do not tell me anything

offline May 25th, 2005 11:45 AM

Well, I sent a message to my hosting provider and they will not raise the memory limit above 16 megs for php. Im getting a 500 internal server error. I do not want to change hosting because I host 8 sites with them and it would be alot of trouble. Any suggestions?

Chuck S May 25th, 2005 12:09 PM

What I am saying is you can tweak the script as I noted to use more memory for php.

You can also in install.php remove this code for zipcodes and then use the upgrade script to import the zipcodes after install.php

In install.php remove this and try reinstalling

// 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 />";
}

offline May 25th, 2005 02:55 PM

Worked perfect, do I need to run the zipcode info since I am not planning on installing a zipcode database?

New problems... My forum is integrated with vB and I cannot log on thru the admin screen. I put my username and password in and it says loggin succesfull then just goes back to the loggin screen.

Second problem, I tried uploading an image into the default category on the stystem and this is what was returned to me back on the screen...

Warning: move_uploaded_file(./data2/1LEISURE_LOUNGE.jpg): failed to open stream: No such file or directory in varwwwhtmlclassifiedsimage-inc.php on line 53
Code:

Content visible to verified customers only.
data directories and sub directories are set at 777

Chuck S May 25th, 2005 03:15 PM

Hello

First issue more than likely you did not either enter the VB license number or set your cookies to match that of VB. Most usual issue is people do not set the cookie prefix to bb which is the default vb3 cookie prefix when they install the app.

Second Issue in Admin Global Options check your uploads and data server paths as they are set to . and not /var/www/classifieds/data and /var/www/html/classifieds/uploads

offline May 25th, 2005 06:44 PM

We are almost there! Thanks for all your help... Im only getting this error now...
Code:

Content visible to verified customers only.

Chuck S May 25th, 2005 08:01 PM

As I posted above set your uploads path just like you did for the data path

I gave you both paths above ;)


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

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97