Page 8 of 27

Posted: Mon 29. Aug 2005, 00:44
by cbmr777
volkman wrote:i am not sure if this matters, but klicking on your site always givs me endings like /christine.phtml. Shouldnt this be like /index.php?christine.
Is rewirte on (.htaccess active)?
It was but I turned them off to fool with one problem at a time. :D
volkman wrote:You are working on a mac like me, so opening a folder like the one you have in your screenshot always produces Files named .DS_Store. Delete them if your server is non-mac. Its mac-only information about filesystem and unixes are sometimes confused by files starting with ".".

volkman
Deleted all .DS_Store files. I'm on a Linux PC server. Still the same...

Posted: Mon 29. Aug 2005, 00:56
by volkman
Christine,
the only problem people usually have is the syntax, but your's looks correct.
All the articles and alias exist, so that should be ok aswell.
You use MySQL >4.0 (if you use older versions, the tag is not executed, just showing the reptag-text like in your example).
If you like I could take a look in your installation if you like. Just send me a pm for login. Wont be checking before in 7 hours, its 1 am over here and I need a nap :wink:

volkman

Posted: Mon 29. Aug 2005, 01:23
by cbmr777
MySQL is 4.0.25-std

You need a nap? :lol:

Sending login info...

Thank you so very much!

Posted: Mon 29. Aug 2005, 08:43
by erich_k4
@Christine

check your syntax
{TEASER_EX:god|1;family|1;christine|1:3:article_tstamp|DESC:0::1}
exclude_articles value is missing!

try this one

{TEASER_EX:god|1;family|1;christine|1:3:article_tstamp|DESC:0::1:}

Erich

Posted: Mon 29. Aug 2005, 09:21
by volkman
hi erich,
this one gave an error. i think the last value "1" is for excluding, we counted it.
Its really strange, I tried to help christine, but still...

volker

Posted: Mon 29. Aug 2005, 09:29
by tinoo
volkman wrote:hi erich,
this one gave an error. i think the last value "1" is for excluding, we counted it.
Its really strange, I tried to help christine, but still...

volker
Nope, the last one is either empty or the article-id of the article you like to
exclude. This is useful if the article containing the teaser_ex tag is in the
same category like the articles you like to show. If you don't use the exlude
option, in this case, the teaser_ex will show himself in the listing....

Posted: Mon 29. Aug 2005, 09:34
by volkman
If we include the : like erich said, there is an sql-error

line 145 at the teaser-script

volkman

Posted: Mon 29. Aug 2005, 09:37
by tinoo
volkman wrote:If we include the : like erich said, there is an sql-error

line 145 at the teaser-script

volkman
...and "1" is probably not a valid article-id...

Posted: Mon 29. Aug 2005, 09:52
by volkman
tinoo,
if i count right, the 1 stands for colums.
even if not: if i use an artcle-id from an article that definitely is never been used in the teaser, it wont work.
i use the teaser on three sites, no problem, have no clue...

volkman

Posted: Mon 29. Aug 2005, 10:02
by volkman
@christine
as far as I learned in this thread, you upgraded from an earlier version of phpwcms to DEV 1.2.5.
If so: did you aswell update the database-structure?

See
http://www.phpwcms-docu.de/index.php?update_1.x.x_en

for details.

volkman

Posted: Mon 29. Aug 2005, 17:29
by StudioZ
Posting again :roll:
I guess my previous post got lost :lol:
erich_k4 wrote:Remove the html_specialchars function or split it ( #346 )
$tmpl = render_cnt_template($tmpl, 'TITLE', html_specialchars($article_list[$key]["article_catname"])." <br> ".html_specialchars($article_list[$key]["article_title"]));
Thank you Erich. That did the trick 8)
Now that I have the category name isolated on it's own line...
I am trying to find the necessary hack, to give it, it's own css style formatting. In fact I wish to make it small, just as a quick eye reference to which category it's been classified... No rush on this... :wink:
I sincerly beleive that this great RT ought to be integrated in the next release. It really opens up brand new possibilities. :D

Cheers,

Yves

Posted: Mon 29. Aug 2005, 22:20
by cbmr777
http://www.hoguechronicle.com/index.php?teststructure

Yes... in one way I am happy, someone else looked at what was going on and can't figure out what is wrong either! :lol - I thought I was going nuts - in another way I am more perplexed!

I originally had an older version phpwcmsfrom Fantastico. When I learned I needed the newest version of phpwcms to get the teaser tag to work, I tried to upgrade. I had so many problems, that I uninstalled everything and downloaded 1.2.5dev from sourceforge and just started anew. The database from the previous version had been deleted. Do you think there could be unseen residual effects left?

Since I have a fresh new install (not upgrade), should I try a DB update anyway?

Posted: Tue 30. Aug 2005, 01:23
by volkman
@erich, cc:christine
We have set up a new structure, template, article on christines site at http://www.hoguechronicle.com/index.php?teststructure
inserted the teaser-tag i had (displayed as text)
{TEASER_EX:god|1;christine|1:2:article_tstamp|DESC:0::1}
and yours
{TEASER_EX:god|1;christine|1:2:article_tstamp|DESC:0::1:}
alias and articles of "god" and "christine exist. The page loads slow and shows up an error for half a second before loading the page.
After several attempts I was able to capture it, here it is.

Image

We have checked the installation, seems to be ok. Do you have any idea???

best regards
volkman

Posted: Tue 30. Aug 2005, 10:24
by erich_k4
@christine, volkmann

Hmm?

Insert the following on #142 (before $result = mysql_query($sql, $db); )

Code: Select all

echo "<hr>".$sql."<hr>";
to get the SQL-Code and post it here...

Erich

Posted: Tue 30. Aug 2005, 10:39
by volkman
Inserted we see an enhanced errorpage

Image

maybe this helps...

volkman