 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
June 15th, 2005, 01:34 PM
|
#1 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
| 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
|
| |
June 15th, 2005, 03:47 PM
|
#2 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
|
Hi..
maybe chucks post here may help in this matter, if you still have no joy please report back thanks
-T
|
| |
June 15th, 2005, 04:35 PM
|
#3 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
|
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...
|
| |
June 17th, 2005, 08:37 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
did you also remove the zipcode part?
|
| |
June 17th, 2005, 09:07 AM
|
#5 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
|
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.
|
| |
June 17th, 2005, 09:50 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
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
Last edited by Chuck S; June 17th, 2005 at 09:53 AM.
|
| |
June 17th, 2005, 10:55 AM
|
#7 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
|
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?
|
| |
June 17th, 2005, 11:27 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
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
Last edited by Chuck S; June 17th, 2005 at 11:46 AM.
|
| |
June 17th, 2005, 11:56 AM
|
#9 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
| 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?
|
| |
June 17th, 2005, 02:48 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
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.
|
| |
June 18th, 2005, 07:30 AM
|
#11 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
|
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 07:32 AM.
|
| |
June 18th, 2005, 08:01 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
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
|
| |
June 18th, 2005, 07:32 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
I submitted to Michael the fix I did to install and I broke the zipdata into 4 files to see if thats helps people.
|
| |
June 20th, 2005, 09:44 AM
|
#14 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
|
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?
|
| |
June 20th, 2005, 09:48 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
There is an uploads directory in the package I download.
|
| |
June 20th, 2005, 10:22 AM
|
#16 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
|
... 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?
|
| |
June 20th, 2005, 10:31 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
I surely exists. Try again and look at the settings on your unzip program as the directory exists.
|
| |
June 20th, 2005, 10:53 AM
|
#18 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
|
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.
|
| |
June 20th, 2005, 11:13 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,662
|
Then it has to be your extraction program settings which does not create empty folders.
|
| |
June 20th, 2005, 11:51 AM
|
#20 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,217
|
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
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 03:22 PM. | |