fullview and archive not displaying

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

along
Posts: 20
Joined: Fri Aug 10, 2007 2:52 pm

fullview and archive not displaying

Post by along »

After getting 5.3.2 installed and working so I can send test mailing, neither the fullview nor archive is working. I followed the user manual for creating the actions and forms, at first I found that the ##AGNUID## string in the link was not being interpreted. I found this thread: http://www.openemm.org/forums/viewtopic ... ight=forms which describes the problem and tried substituting [agnUID] in the link. Now, the string is interpreted, but I am led to empty pages in both cases.

Here are the links as in the content:

Code: Select all

<a href="http://example.com:8080/form.do?agnCI=1&agnFN=fullview&agnUID=[agnUID]">

Code: Select all

<a href="http://example.com:8080/form.do?agnCI=1&agnFN=archive&agnUID=[agnUID]">
And here are the links as displayed in the received email:

Code: Select all

http://example.com:8080/r.html?uid=1.1.2.7.5kdkul0hd4%0AagnUID=1.1.2.0.jhkrcqrj7t

Code: Select all

http://example.com:8080/r.html?uid=1.1.2.8.vmqkhvdjt4%0AagnUID=1.1.2.0.jhkrcqrj7t
Any ideas? I am not sure how to continue debugging this. As I said, clicking on the links leads to a page, but it is completely empty.

Andrew
===============
Update:
I looked at the code in the content window and saw what might be some troublesome line-breaks; after correcting that and trying a new test send, I see that all links to forms are returning the error form, not a blank page. I tried creating another form based on the manual instructions, for displaying user data, and that one also returns an error "form not found".

The only errors I can find in any logs are in /var/log/jvm_console.log and /var/log/jvm_redirection.log and are repeated over and over...

$ cat var/log/jvm_redirection.log
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:1072)

$ cat var/log/jvm_console.log
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:1072)

$ /opt/openemm.org/software/java/bin/java -version
java version "1.6.0_05-ea"
Java(TM) SE Runtime Environment (build 1.6.0_05-ea-b04)
Java HotSpot(TM) Client VM (build 1.6.0_05-ea-b04, mixed mode, sharing)
along
Posts: 20
Joined: Fri Aug 10, 2007 2:52 pm

Post by along »

I discovered a zombie java process... after a reboot, we now see the error form when clicking on archive or fullview link in mailing. There is no longer an error logged in jvm_redirection.log or jvm_console.log.

Any thoughts?

- Andrew
along
Posts: 20
Joined: Fri Aug 10, 2007 2:52 pm

Resolved: fullview and archives not displaying

Post by along »

Here's pretty much everything I did...
1. checked for zombie processes, if found reboot

2. edit bin/mailer.sh to apply the fix for sendmail pid files: remove $BASE from the two lines referencing sendmail PID files (only if sendmail is complaining, which it was)

BEFORE:

Code: Select all

$sm -q1m -NNEVER -OQueueDirectory=$BASE/var/spool/ADMIN -OPidFile=$BASE/var/run/sendmail-openemm-admin.pid
mproceed "mail queue"
$sm -q1m -NNEVER -OQueueDirectory=$BASE/var/spool/QUEUE -OPidFile=$BASE/var/run/sendmail-openemm-queue.pid
AFTER:

Code: Select all

$sm -q1m -NNEVER -OQueueDirectory=$BASE/var/spool/ADMIN -OPidFile=/var/run/sendmail-openemm-admin.pid
mproceed "mail queue"
$sm -q1m -NNEVER -OQueueDirectory=$BASE/var/spool/QUEUE -OPidFile=/var/run/sendmail-openemm-queue.pid
3. Verify that mysqld is running without error (I had to restart it at one point, don't know why)

4. Check that all line-breaks are correct where I entered (copy/paste) text from the manual into form setup windows: for instance, when I pasted the code to create the archive form, a space was inserted where there should not be one.

Code: Select all

<dt><a href="/form.do?agnCI=1&agnFN=Fullview&agnUID= 
$archiveListUids.get($mailing)">$archiveListNames.get(
$mailing)</a>
You will note that the PDF manual (OpenEMM_UserManual_5.3.2.pdf) contains a space character at the end of the first line where there should be none...

5. Replace instances of "##AGNUID##" with "[agnUID]" in links to forms.

- Andrew
Hofmann M.
Posts: 22
Joined: Thu Aug 03, 2006 3:18 pm
Location: Ruhpolding, BY, Germany
Contact:

Post by Hofmann M. »

Hi along,

The link you wrote:
could not work. The agnUID is not included in the trackable link. The trackable link build by the OpenEMM is:

Code: Select all

http://example.com:8080/r.html?uid=1.1.2.7.5kdkul0hd4
and there are only the parameters "agnCI" and "agnFN" included. You will see the Error-Form.
The parameter "uid" in the link is not only "1.1.2.7.5kdkul0hd4" but also "1.1.2.7.5kdkul0hd4%0AagnUID=1.1.2.0.jhkrcqrj7t" and this string is not in the database. OpenEMM couldn't encrypt the link. An error occurred.

Until now I did not use the fullview in my newsletters. I read this problem and tested it. I use OpenEMM 5.3.2. I only tried the fullview and did the following steps:

1. Create a fullview-link in the Newsletter
in HTML:

Code: Select all

<a href="http://mydomain.com:8080/form.do?agnCI=1&agnFN=fullview&agnUID=##AGNUID##">see  fullview</a>
in textversion:

Code: Select all

see the mail in your browser:
http://mydomain.com:8080/form.do?agnCI=1&agnFN=fullview&agnUID=##AGNUID##
2. Create a aktion
I named the aktion "fullview" and i insert the step "Show archived Mailing" (only this simple step).

3. Create a form
I called the form "fullview".
Use the action "fullview".
Insert in the "Success-Form":

Code: Select all

$archiveHtml
Insert in the "Error-Form":

Code: Select all

ERROR
4. Testing
At first i tested the link in the fullview and then I did an adminmailing and tested again. In both versions it works successfully.

I hope this will help you.
I don't use the "[agnUID]"-Tag in the links, because it doesn't work in the trackable links and this is the default setting in the OpenEMM.


Greetings.
Post Reply