Weiterleitungsfehler im Newsletter? / Problem in newsletter

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
jscholtysik

Weiterleitungsfehler im Newsletter? / Problem in newsletter

Post by jscholtysik »

Diese Nachricht habe ich am 07.01.2005 schon einmal in PHPWCMS Support geschrieben, aber bisher noch keine Antwort erhalten !


Hallo zusammen,

ich probiere gerade den Content-Part Newsletter aus.

Wenn ein Benutzer seine Newsletter-Anmeldung oder -Abmeldung per Link in der erhaltenen Email bestätigt, erhält er im Webbrowser die Infos

The email adress XXXX@YYYY.ZZ was verified.
If you should not redirected within 10 seconds, click here.

oder

The email adress XXXX@YYYY.ZZ was deleted.
If you should not redirected within 10 seconds, click here.


Sollte das zum Einen nicht heissen:
"If you should not be redirected..." ?????

Desweiteren stimmt der Redirection-Pfad in der act_newsletter.php nicht.

Zeile 59: <meta http-equiv="refresh" content="10;URL=<?php echo $phpwcms["site"] ?>">
und
Zeile 70: <?php echo $text ?><br />If you should not redirected within 10 seconds <a href="<?php echo $phpwcms["site"] ?>">click here</a>.

Die Weiterleitung geht ja in diesem Fall auf meine Hauptseite, nicht auf meine Unterseite, wo mein CMS installiert ist. Also müssten doch hier korrekterweise Site und Root eingebunden stehen, damit die Weiterleitung wieder auf mein CMS geht, oder?

Bis denne.


Joachim
Last edited by jscholtysik on Wed 19. Jan 2005, 22:12, edited 1 time in total.
jscholtysik

Post by jscholtysik »

Gibt es denn niemanden, der mir hier weiterhelfen kann?

Traurig, traurig... :(



Joachim
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hast du mal in der Datei conf.inc.php nachgesehen, ob als wcms_root auch dein Unterverzeichnis eingetragen ist?
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
jscholtysik

Post by jscholtysik »

Hallo cyrano,


ja, in der conf.inc.php ist mein Unterverzeichnis eingetragen. Trotzdem geht die Weiterleitung auf die Adresse bei "site" zurück. Muss sie ja auch, denn in der act_newsletter.php steht ja auch nur die Site als Sprungort drin und nicht site+root.



Joachim
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hmm habe das eben mal an einer seite getestet, ich werde nach eintragen in den newsleter nicht weitergeleitet, also nicht automatisch.

Auf der Seite selbst. wennich die email bestätige, dann mit dem mitgelieferten Link auf die Seite gehe und bestätige, werde ich auf die Hauptseite umgeleitet - ok, liegt auch im root.

sorry, dann müssen wir warten bis hier noch jemand vorbeischaut, der seine Installation auch in einem Unterverzeichnis liegen hat.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
jscholtysik

Post by jscholtysik »

Hallo cyrano,


wäre ja richtig, wenn in der conf.inc.php site+root angegeben wäre. Wenn die Installation im Hauptverzeichnis liegt, ist root leer und die Weiterleitung i.O. Ansonsten würde dann die Weiterleitung richtigerweise ins Unterzeichnis zurückgehen, da ja was in root drinsteht.

Bug? Feature?

Wer weiss. Mal schauen, wer mir da weiterhelfen kann.

Trotzdem danke.


Joachim
jscholtysik

Also in english : Problem with redirection in newsletter CP

Post by jscholtysik »

Hi all,

at the time I am trying the content part newsletter.

When a user gets his/her newsletter registration oder his/her check-out via link in the email received, the webbrowser shows the messages

The email adress XXXX@YYYY.ZZ was verified.
If you should not redirected within 10 seconds, click here.

or

The email adress XXXX@YYYY.ZZ was deleted.
If you should not redirected within 10 seconds, click here.

Shouldn't that mean:
"If you should not be redirected..." ?????

Furthermore the redirection path does not fit in the act_newsletter.php !

Line 59: <meta http-equiv="refresh" content="10;URL=<?php echo $phpwcms["site"] ?>">
and
Line 70: <?php echo $text ?><br />If you should not redirected within 10 seconds <a href="<?php echo $phpwcms["site"] ?>">click here</a>.

In my case the redirection leads to my main site, not to my subdirectory where my cms is installed. Therefore the site AND the root have to be included in these lines for a correct redirection, isn't it?

If lines 59 and 70 would contain site and root there are two possibilities:

- CMS ist installed in in main directory of the website :
--> site contains main directory, root is empty
----> redirection leads to the site entry

- CMS is installed in subdirectory of the website :
--> site contains main directory, root contains subdirectory
----> redirection leads to the site and root entry (=subdirectory)

So could anyone check this problem, whose cms is also installed in a subdirectory to verify whether this is a bug or a feature?

Thanks in advance.



Joachim
Mehlinger
Posts: 76
Joined: Mon 22. Nov 2004, 14:49
Contact:

Re: Also in english : Problem with redirection in newsletter

Post by Mehlinger »

jscholtysik wrote:
So could anyone check this problem, whose cms is also installed in a subdirectory to verify whether this is a bug or a feature?

Joachim
Hi, i´ve also installed phpwcms in a subdirectory and i´ve the same problems with the newsletter and the eMail-form.
Locked