Page 1 of 2

[UPDATE] phpwcms PRE 1.2.2-DEV ist da !!!

Posted: Tue 5. Apr 2005, 22:13
by nepo
Hallo Leute,

eine neue Release PRE 1.2.2-DEV steht zum "Rumprobieren" zur Verfügung.

Ein wichtiger Hinweis !!! :!:

Dies ist eine NICHT offizielle PRE-DEV RELEASE!!!
NO SUPPORT

Updated release - some fixes and patches:
http://www.phpwcms.org/phpwcms_pre1.2.2-dev.zip
http://www.phpwcms.org/phpwcms_pre1.2.2-dev.rar

Viel Spaß beim Rumtesten!!!

NEPO

Posted: Tue 5. Apr 2005, 23:15
by Oliver Georgi
Achtung. Die ist wirklich nur für ganz Ungeduldige.

Ist aber soweit stabil und beinhaltet u.a. den Patch zum Kopieren von Content Parts.

Update 11.04.2005 - nicht mehr nötig:
Ihr müsst unbedingt - AUCH BEI NEUINSTALLTION - die upgrade.php öffnen und das Datenbankupdate von 1.2.1 auf 1.2.2 machen oder das hier manuell hinzufügen:

Code: Select all

ALTER TABLE `phpwcms_user` ADD `usr_wysiwyg` INT( 2 ) NOT NULL ;
ALTER TABLE `phpwcms_user` ADD `usr_fe` INT( 1 ) NOT NULL ;
UPDATE `phpwcms_user` SET usr_fe =2 ;
ALTER TABLE `phpwcms_userlog` ADD `logged_section` INT( 1 ) NOT NULL ;
CREATE TABLE `phpwcms_sysvalue` (
	`sysvalue_key` VARCHAR( 255 ) NOT NULL ,
	`sysvalue_tstamp` TIMESTAMP NOT NULL ,
	`sysvalue_value` MEDIUMBLOB NOT NULL ,
	PRIMARY KEY ( `sysvalue_key` ) ,
	FULLTEXT ( `sysvalue_key` )
);
ALTER TABLE `phpwcms_article` ADD `article_nositemap` INT( 1 ) DEFAULT '0' NOT NULL ;
ALTER TABLE `phpwcms_articlecat` ADD `acat_nositemap` INT( 1 ) DEFAULT '0' NOT NULL ;
Oliver

Posted: Tue 5. Apr 2005, 23:32
by Rainer G
Was sind denn die Neuerungen gegenüber der 1.2.1?

Posted: Wed 6. Apr 2005, 10:59
by rushclub
i havent had the time to install the new version yet, but there is a file called ›fe_user_login.inc.php‹. is there a frontend login integrated now?

cheers
rush

Posted: Wed 6. Apr 2005, 13:04
by rushclub
have installed the new version with the sql-update but i am not able to login. sqltables are filled. i see my username in phpmyadmin but the login is not working. anyone has an idea?

cheers
rush

Posted: Wed 6. Apr 2005, 14:50
by Paal
After fresh install, can't login... :?

Posted: Wed 6. Apr 2005, 15:34
by dbaron
I did and it works, just update the database with the code than Oliver gave:

Code: Select all

ALTER TABLE `phpwcms_user` ADD `usr_wysiwyg` INT( 2 ) NOT NULL ;
ALTER TABLE `phpwcms_user` ADD `usr_fe` INT( 1 ) NOT NULL ;
UPDATE `phpwcms_user` SET usr_fe =2 ;
ALTER TABLE `phpwcms_userlog` ADD `logged_section` INT( 1 ) NOT NULL ;
CREATE TABLE `phpwcms_sysvalue` (
   `sysvalue_key` VARCHAR( 255 ) NOT NULL ,
   `sysvalue_tstamp` TIMESTAMP NOT NULL ,
   `sysvalue_value` MEDIUMBLOB NOT NULL ,
   PRIMARY KEY ( `sysvalue_key` ) ,
   FULLTEXT ( `sysvalue_key` )
);
ALTER TABLE `phpwcms_article` ADD `article_nositemap` INT( 1 ) DEFAULT '0' NOT NULL ;
ALTER TABLE `phpwcms_articlecat` ADD `acat_nositemap` INT( 1 ) DEFAULT '0' NOT NULL ;
But I don't know how the login/logout for users works :cry:

Posted: Wed 6. Apr 2005, 15:35
by rushclub
also with the sl-query it didnt work for me.

cheers
rush

login o.k.

Posted: Wed 6. Apr 2005, 16:12
by purnsam
After install, login doesn't work.

so I looked login.php

line 123
aporeplace(md5($wcs_pass))."') AND usr_aktiv=1 AND (usr_fe=1 OR usr_fe=2);";

but there is no usr_fe field in phpwcms_user table. so I changed it into
line 123
aporeplace(md5($wcs_pass))."') AND usr_aktiv=1;";

Oliver, please check this.

Now login is working. I going to look what is changed....

regards,

Posted: Wed 6. Apr 2005, 16:15
by dbaron
purnsam, you are wrong, because you need to install, and then, before login for the first time, you need to alter the tables with the code above.

Am I wrong?

Posted: Wed 6. Apr 2005, 16:26
by purnsam
Thanks. dbaron.

I can't speak german. so I didn't know that.
After install, I executed above sql code. so now...

Now login is working. everything is O.K :)

I found:
- copy&past article function not working at root level and working at other level
- copy&past article content part function working..
- forum topic write & reply functin working...
- forum topic author always displaying as guest
- forum topic access function not working... ( everybody can always write)

Posted: Wed 6. Apr 2005, 16:29
by dbaron
Me too, can't speak german, and just a little english :lol:

Could you tell me if you can use the login/logout functions for the frontend users? Impossible for me to work :cry:

Posted: Wed 6. Apr 2005, 16:37
by rushclub
dbaron wrote:purnsam, you are wrong, because you need to install, and then, before login for the first time, you need to alter the tables with the code above.

Am I wrong?
have done it that way but it didnt work ;(

cheers
rush

Posted: Wed 6. Apr 2005, 17:18
by frold
frontend users
I pretty sure that frontend users doesnt work - else would Pappnase or OG make a post about it... we are many ppl who just wait on that feature and Im sure OG already know that ;-)

Posted: Wed 6. Apr 2005, 17:20
by cyrano
now you can define and setup a frontend user, but didn't find out to setup a login anyway...

so this is a preprerelease.

but nice to see the more steps..