index.php?(page name)

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
bench1254
Posts: 44
Joined: Tue 3. Oct 2006, 15:13

index.php?(page name)

Post by bench1254 »

I am making links within the site:

a button to send me to "register" would link as "index.php?register"

This use to work by setting the alias within the article as "register"

However this alias is reading as "register_lkt (random letter after _)
I can not get rid of them -- after deleting, they show up again.

Any thoughts?

Thanks
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi bench1254,

there are old entrys inside your db.
Please run this snippet using phpMyAdmin in SQL:
For deleted articles:

Code: Select all

DELETE FROM phpwcms_article WHERE article_deleted=9;
DELETE FROM phpwcms_articlecontent WHERE acontent_trash=9;
For deleted structure names:

Code: Select all

DELETE FROM phpwcms_articlecat WHERE acat_trash=9;
Regards Knut
Last edited by flip-flop on Wed 1. Nov 2006, 15:22, edited 2 times in total.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

that happens, if you have deleted the Alias and want to take it another time...

only possible to delete inside the DB ... its for savety reasons :roll:


Three possibilities:

1. think first, if you wanna delete an aliasname :roll:

2. Use an other Alias if possible

3. delete the db entry of the unused "register" Alias with your db admin-tool
Oldboy
Posts: 85
Joined: Mon 18. Sep 2006, 15:13

Post by Oldboy »

flip-flop wrote:

Code: Select all

DELETE FROM phpwcms_articlecat WHERE acat_trash=9;
this code deletes already deleted aliases?
Doesn't work! I still can't create an alias en_home without this random string!?!

Any ideas??
Oldboy
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

this code deletes already deleted aliases?
Yes.
Please have a look into the table phpwcms_articlecat.
Sort this table using the column acat_trash.
Is there any entry <> 0 ?
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Oldboy
Posts: 85
Joined: Mon 18. Sep 2006, 15:13

Post by Oldboy »

found it! thanks! :D
Oldboy
Post Reply