Newletter

Download plugins, language packs and stuff.

Postby x-byte » Mon Jan 22, 2007 1:57 am

flesh wrote:for me the admin panel for it is working perfect but I am having a problem with adding the form ...

when I add the cn_subscribe();

it is showing

Fatal error: Call to undefined function: cn_subscribe()

what's wrong ?


Have you enabled the "CN functions" plugin?





I have a different problem. I've checked that the text files have write access, but it doesn't work. Here's the error message:

Code: Select all
Warning: file(): Unable to access ../data/emails.txt in /usr/home/web/wno65308/wii-fan.net/artikler/plugins/newsletter.php on line 349



Warning: file(../data/emails.txt): failed to open stream: No such file or directory in /usr/home/web/wno65308/wii-fan.net/artikler/plugins/newsletter.php on line 349



Warning: fopen(../data/emails.txt): failed to open stream: No such file or directory in /usr/home/web/wno65308/wii-fan.net/artikler/plugins/newsletter.php on line 350



Warning: Invalid argument supplied for foreach() in /usr/home/web/wno65308/wii-fan.net/artikler/plugins/newsletter.php on line 352



Warning: fwrite(): supplied argument is not a valid stream resource in /usr/home/web/wno65308/wii-fan.net/artikler/plugins/newsletter.php on line 360


I can add emails manually.





EDIT:



And just another ting. How do I enable use of letters not in the english alphabet? Using UTF-8 for instance.
x-byte
 
Posts: 170
Joined: Mon Nov 14, 2005 6:31 am

Postby scottdallas » Mon Jan 22, 2007 8:09 am

I had to change the directory it was pointing to in newsletter.php for the emails.txt file.. maybe try putting ../../emails.txt instead? Or maybe type full URL. I had a similar error.
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby master7 » Mon Jan 22, 2007 8:20 am

scottdallas wrote:I had to change the directory it was pointing to in newsletter.php for the emails.txt file.. maybe try putting ../../emails.txt instead? Or maybe type full URL. I had a similar error.


I had tha same problems.

The solution is to change paths in newsletter.php file.
User avatar
master7
 
Posts: 27
Joined: Tue Apr 11, 2006 1:34 pm

Postby x-byte » Mon Jan 22, 2007 10:27 am

*PROBLEM SOLVED* (in a way)





Seems I have mistaken an old version of this file which I had on my PC. I redownloaded it and it seems to be running mostly fine. Although I can't seem to add emails via: cn_subscribe();



Seems it doesn't write to emails.txt





EDIT: And one more problem.





How do I clear the newsletter content? It should remove the newsletter data when the mail is sent right? Or is there a different way?
x-byte
 
Posts: 170
Joined: Mon Nov 14, 2005 6:31 am

Postby maqs » Mon Jan 22, 2007 3:23 pm

It clears the data when it's time for you to post a new newsletter. So don't worry about that. :)
User avatar
maqs
 
Posts: 112
Joined: Sun Aug 20, 2006 7:26 am
Location: Lund, Sweden

Postby x-byte » Mon Jan 22, 2007 7:07 pm

No it did not do that when I tested....
x-byte
 
Posts: 170
Joined: Mon Nov 14, 2005 6:31 am

Postby flesh » Mon Jan 22, 2007 7:21 pm

x-byte wrote:
flesh wrote:for me the admin panel for it is working perfect but I am having a problem with adding the form ...

when I add the cn_subscribe();

it is showing

Fatal error: Call to undefined function: cn_subscribe()

what's wrong ?


Have you enabled the "CN functions" plugin?



yes :roll:
flesh
 
Posts: 103
Joined: Sat Mar 04, 2006 3:51 pm
Location: Poland

Postby FI-DD » Mon Jan 22, 2007 8:38 pm

flesh wrote:for me the admin panel for it is working perfect but I am having a problem with adding the form ...

when I add the cn_subscribe();

it is showing

Fatal error: Call to undefined function: cn_subscribe()

what's wrong ?


You have to include head.php before using cn_subscribe().



x-byte wrote:It should remove the newsletter data when the mail is sent right?


Why? The old newsletter data will only be replaced by the new data.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby x-byte » Mon Jan 22, 2007 8:43 pm

Thanks for the info FI-DD :)



Do you have an idea of why I can't add emails via cn_subscribe() ? From the plugin works fine.
x-byte
 
Posts: 170
Joined: Mon Nov 14, 2005 6:31 am

Postby FI-DD » Mon Jan 22, 2007 9:28 pm

I guess it's a path problem.



Play around with the paths in the function cn_subscribe().
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Postby flesh » Tue Jan 23, 2007 6:27 pm

FI-DD wrote:
flesh wrote:for me the admin panel for it is working perfect but I am having a problem with adding the form ...

when I add the cn_subscribe();

it is showing

Fatal error: Call to undefined function: cn_subscribe()

what's wrong ?


You have to include head.php before using cn_subscribe().



x-byte wrote:It should remove the newsletter data when the mail is sent right?


Why? The old newsletter data will only be replaced by the new data.


yes I know... the form is showing and when I enter the e-mail and the name and when I press ok it shows the same page but without the form and the e-mail is not added ... the url that is shown after pressing ok is "http://mysite.com/index.php/zz303/?doaction=subscribe" and the e-mail is not added :roll:
Last edited by flesh on Wed Jan 24, 2007 11:59 am, edited 1 time in total.
flesh
 
Posts: 103
Joined: Sat Mar 04, 2006 3:51 pm
Location: Poland

Postby flesh » Wed Jan 24, 2007 11:55 am

flesh wrote:
yes I know... the form is showing and when I enter the e-mail and the name and when I press ok it shows the same page but without the form and the e-mail is not added ... the url that is shown after pressing ok is "http://mysite.com/index.php/zz303/?doaction=subscribe" and the e-mail is not added :roll:


can someone help ? I am using friendly urls ... is it the problem ?

because the url is something like this "http://mysite.com/index.php/zz303/?doaction=subscribe"
flesh
 
Posts: 103
Joined: Sat Mar 04, 2006 3:51 pm
Location: Poland

Postby astrostart » Fri Feb 23, 2007 2:53 pm

cn_subscribe doesn't work for me either :(



Well, I get the boxes, but when I fill them in with a name and an e-mail and I add it, I just get a blank screen.
My site: http://www.astrostart.nl | Thanks to everyone here who has helped me!
User avatar
astrostart
 
Posts: 124
Joined: Sun Feb 11, 2007 6:08 pm
Location: The Netherlands

Postby Heya Im Me » Tue Feb 27, 2007 3:00 pm

Has anyone figured this problem out? I changed the paths in cn_subscribe to be specifically pointed at the emails.txt and newsletter.txt but I still get a blank screen when I put in a name and an e-mail address. It doesn't get added to the database and if I put in a wrong email (like 12at3.com) it doesn't give me an error, it just shows the blank screen.



Any other suggestions FI-DD? I saw that maqs (http://www.eldar.se) works on his site but I couldn't figure out how he did it...





Thanks for any help on this,



-HIM
Heya Im Me
 
Posts: 189
Joined: Wed Feb 01, 2006 4:06 am

Postby FI-DD » Tue Feb 27, 2007 8:37 pm

I fixed a small bug. Please download it again.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

PreviousNext

Return to Additional Downloads



Who is online

Users browsing this forum: No registered users and 0 guests

cron