multiple install problems, setup.conf.inc.php 0kb, no login!

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
alchemistkevin
Posts: 15
Joined: Sun 11. Apr 2004, 22:09
Location: London
Contact:

multiple install problems, setup.conf.inc.php 0kb, no login!

Post by alchemistkevin »

hi guys,

i've read and re-read almost all of the posts here, also translated the german ones to english but can't seem to solve my probs, installing phpwcms - the only reason i'm persisting with this is because i think this is a wonderful system and i'd rather use this or not use any cms at all, so please help....


my sys info is as under (shared/commercial hosting package)

system: Linux secure.bravo-server.net 2.4.25
server: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.4 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.6b
php: v4.3.4
path: /home/alternat/public_html



i've unzipped (via windows) the package: phpwcms_1[1].1-RC2_2004-04-04.zip into the public_html directory on the host.

created a db name: alternat_web
created a db user with password to access alternat_web db with all permissions.

started install using http://www.alternateplanet.net/setup/index.php

i can create all the tables in the db after executing the first step
when i come to the second step:

create site infos and admin account
i cant create a user, even the default: webmaster/admin doesnt work!!!, dont know why!!! this is my first problem!
the system comes up with
Check your admin user name and password!
if i leave the
create admin account: ticked (as per the documention)

if i untick this i am able to pass through the rest of the setup with no problems, but then my second major problem --- there is not a single word in the file: setup.conf.inc.php in the setup directory!!!

i've deleted the db and users and even re-ftp'd the setup folder a number of times, but cant get through this!!!?!?!

i even tried copying other's conf files and changing the db_user and other info to my users, that does bring up the index.php page but i can't login due to my very first problem (no records in the database!!!)

there are no other errors coming up, the privacy setting in my ie on winxp pro is low and i accept all the cookies, i just cant figure out what the problem is!!!

you can browse my directories if you want to: also the permissions are set to 777 so if you want to test things out you can even write/change the files


thanks in advance




============

another issue (after i've resolved the above probs...): i'm only on a 10mb hosting package, unzipping this takes up around 10.5 mb of space, anybody know anything that i delete in this package to strip it down, so as to bring the size down to somewhere around 5mb when this finally gets working!!!

i don't need a forum type site: just a plain site but with the functionality of managing content via this package and having independent control over content and design...

============
in an alternate time
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

alchemistkevin wrote:Check your admin user name and password!
if i leave the
create admin account: ticked (as per the documention)
If the database tables got created correctly, then the user/pass/dbname portions sounds correct. Ensure you have file permissions correct, perhaps???
check access rights for special files and folders.


1) DIR phpwcms_tmp/thumb_list 777
2) DIR phpwcms_tmp/thumb_preview 777
3) DIR phpwcms_ftp 777
4) DIR phpwcms_filestorage/1...10 777
5) DIR content/images 777

6) FILE setup/setup.conf.inc.php 666
7) FILE phpwcms_template/inc_css/frontend.css 666
8) FILE phpwcms_template/inc_default/startup.html 666


All other files listed above can set to 644, directories to 755. Sometimes it can help to set mode to 766 for the following directories: phpwcms_tmp, phpwcms_template, phpwcms_ftptakeover, inc_css, content. If you have further access problems try to set all files and directories to 777 (not recommend).
First, restore an original copy of "setup.config.inc.php" (from archive zipfile) to "/home/alternat/public_html/setup/setup.config.inc.php". It is more like a "template" for your answers to questions in the setup process. It and the folder in which it resides, get deleted when you have successfully installed phpWCMS. The actual "key" file will be named "config.inc.php and you are prompted at the end of step5 to download the "updated" file and save it. (as something similar to what I show below.) (Otherwise, try copying, and editing with correct values, the contents ~below~ to a file named "config.inc.php" and FTP it to "/home/alternat/public_html/include/inc_conf/config.inc.php"

Code: Select all

<?php
/*************************************************************************************
   Copyright notice
   
   (c) 2002-2003 Oliver Georgi (oliver@phpwcms.de) // All rights reserved.
 
   This script is part of PHPWCMS. The PHPWCMS web content management system is
   free software; you can redistribute it and/or modify it under the terms of
   the GNU General Public License as published by the Free Software Foundation;
   either version 2 of the License, or (at your option) any later version.
  
   The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html
   A copy is found in the textfile GPL.txt and important notices to the license 
   from the author is found in LICENSE.txt distributed with these scripts.
  
   This script is distributed in the hope that it will be useful, but WITHOUT ANY 
   WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
   PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 
   This copyright notice MUST APPEAR in all copies of the script!
*************************************************************************************/

// phpwcms base values -> needed in any document

// database values
$phpwcms["db_host"]           = "db.alternateplanet.net";
$phpwcms["db_pass"]           = "kevin";
$phpwcms["db_table"]          = "alchemist";
$phpwcms["db_prepend"]        = "";
$phpwcms["db_pers"]           = 1;

// site values
$phpwcms["site"]              = "http://www.alternateplanet.net/";
$phpwcms["admin_email"]       = "admin@alternateplanet.net";

// paths
$phpwcms["root"]              = "";
$phpwcms["file_path"]         = "phpwcms_filestorage";
$phpwcms["file_tmp"]          = "phpwcms_tmp";
$phpwcms["templates"]         = "phpwcms_template";
$phpwcms["dir_thlist"]        = "thumb_list";
$phpwcms["dir_preview"]       = "thumb_preview";
$phpwcms["content_path"]      = "content";
$phpwcms["cimage_path"]       = "images";
$phpwcms["ftp_path"]          = "phpwcms_ftp";

// content values
$phpwcms["file_maxsize"]      = 52428800; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"]     = 538;      //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"]    = 100;      //max with of the list thumbnail image
$phpwcms["img_list_height"]   = 75;       //max height of the list thumbnail image
$phpwcms["img_prev_width"]    = 538;      //max width of the large preview image
$phpwcms["img_prev_height"]   = 538;      //max height of the large preview image
$phpwcms["max_time"]          = 1800;     //nach wieviel Sekunden soll automatischer logout erfolgen? 1800 Sekunden=30Minuten

// other stuff
$phpwcms["compress_page"]     = 3;        //wenn 1 = Seite komprimieren, 0 = Kompresion aus
$phpwcms["imagick"]           = 0;        //if 0 = GD, 1 = ImageMagick convert
$phpwcms["imagick_path"]      = "";       //Path to ImageMagick
$phpwcms["use_gd2"]           = 1;        //if 0 = GD1, 1 = GD2
$phpwcms["rewrite_url"]       =0;        //whether URL should be rewritable
$phpwcms["wysiwyg_editor"]    = 4;        //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based, 4 = spaw
$phpwcms["phpmyadmin"]        = 1;        //enable/disable phpmyadmin in Admin section
$phpwcms["default_lang"]      = "en";     //default language
$phpwcms["charset"]           = "iso-8859-1";       //default charset "iso-8859-1"

// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"] 	  = "0"; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"] 	  = ""; //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"] 	  = "443"; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = '';
$phpwcms['SMTP_FROM_NAME']    = '';
$phpwcms['SMTP_HOST']         = '';
$phpwcms['SMTP_PORT']         = 25;
$phpwcms['SMTP_MAILER']       = 'smtp';
$phpwcms['SMTP_AUTH']         = 1;
$phpwcms['SMTP_USER']         = '';
$phpwcms['SMTP_PASS']         = '';

?>
alchemistkevin
Posts: 15
Joined: Sun 11. Apr 2004, 22:09
Location: London
Contact:

Post by alchemistkevin »

DeXXus wrote: If the database tables got created correctly, then the user/pass/dbname portions sounds correct. Ensure you have file permissions correct, perhaps???
check access rights for special files and folders.
thanks for the reply,

i have set all the directory permissions to 777 since i had the problem first time and since then with numerous retries, have ensured that it's 777 for everything including my public_html directory.

i have already replaced the file earlier in the include folder, however, this is where my second problem comes in: there is no user in the db and when the login page comes up, it asks me to login, keying in anything results in an error!

seems like i need more help... :? :? :?
in an alternate time
Jan212
Posts: 859
Joined: Wed 28. Jan 2004, 21:38
Location: Solingen
Contact:

Post by Jan212 »

create an user name admin for example and create an md5 decrypted pass and copy&paste it to the db.
field usr_login is the name, usr_pass the password

Code: Select all

# phpMyAdmin SQL Dump
#
# Daten für Tabelle `phpwcms_user`
#

INSERT INTO `phpwcms_user` (`usr_id`, `usr_login`, `usr_pass`, `usr_email`, `usr_tstamp`, `usr_rechte`, `usr_admin`, `usr_avatar`, `usr_aktiv`, `usr_name`, `usr_var_structure`, `usr_var_publicfile`, `usr_var_privatefile`, `usr_lang`) VALUES (1, 'admin', 'your md5 hash', 'me@her.de', 20040408210904, 0, 1, '', 1, 'Administrator');
Regards/ Grüsse/ Groetjes - JAN212
------------------------------------------------
null212 - Büro für Kommunikation und Design
------------------------------------------------
Lyrikfetzen des Tages
1. Ist der Quelltext auch valide fragt Herr Müller ganz perfide.
2. Wat is dat een lekker ding.
3. Wer Vision hat soll zum Arzt gehen.
------------------------------------------------
alchemistkevin
Posts: 15
Joined: Sun 11. Apr 2004, 22:09
Location: London
Contact:

Post by alchemistkevin »

Done.

Problem Solved.

Thanks.


final analysis:

as i said earlier i have a hosting area of 10mb, my account was a few bytes above quota.

what was happening was that new files could be palced, but whenever an old file was opened for writing it would go back with 0 bytes as there was no space on the server, wierd, but true!

deleted the language files off the disk (no other things to delete!!!) and got going...

does anyone know how can i scale down in terms of using disk space when using phpwmcs? i mean, are there any modules or files that i can delete if i do not want to use features like forums and things like that?!

the only functionality that i require is placing articles and automatic menu generation features, also the ability to store things in a db.

Thanks again to every1

HTH some1


http://www.alternateplanet.net
in an alternate time
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

I think the language support would be the biggest thing if you really don't need it. Other than that there is probably not much to get rid of.
Post Reply