Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Newletter
Goto page Previous  1, 2, 3, 4, 5  Next
 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
Newletter
Author Message
x-byte



Joined: 14 Nov 2005
Posts: 170

Post Reply with quote
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:
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.
Mon Jan 22, 2007 1:57 am View user's profile Send private message Visit poster's website
Guest








Please login to hide the ads.

scottdallas



Joined: 04 May 2006
Posts: 2027
Location: US

Post Reply with quote
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.

_________________
www.scodal.com is an example of cnr as a social forum - www.scottdizzle.com is an example of cnr as a personal website to share whatever cool stuff i feel like. i have another, but it's nsfw. pm me Wink
Mon Jan 22, 2007 8:09 am View user's profile Send private message Visit poster's website AIM Address
master7



Joined: 11 Apr 2006
Posts: 27

Post Reply with quote
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.
Mon Jan 22, 2007 8:20 am View user's profile Send private message
x-byte



Joined: 14 Nov 2005
Posts: 170

Post Reply with quote
*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?
Mon Jan 22, 2007 10:27 am View user's profile Send private message Visit poster's website
maqs



Joined: 20 Aug 2006
Posts: 112
Location: Lund, Sweden

Post Reply with quote
It clears the data when it's time for you to post a new newsletter. So don't worry about that. Smile

_________________
www.eldar.se

marcus@eldar.se
Mon Jan 22, 2007 3:23 pm View user's profile Send private message Visit poster's website ICQ Number
x-byte



Joined: 14 Nov 2005
Posts: 170

Post Reply with quote
No it did not do that when I tested....
Mon Jan 22, 2007 7:07 pm View user's profile Send private message Visit poster's website
flesh



Joined: 04 Mar 2006
Posts: 89
Location: Poland

Post Reply with quote
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 Rolling Eyes
Mon Jan 22, 2007 7:21 pm View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2857
Location: Germany

Post Reply with quote
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.
Mon Jan 22, 2007 8:38 pm View user's profile Send private message
x-byte



Joined: 14 Nov 2005
Posts: 170

Post Reply with quote
Thanks for the info FI-DD Smile



Do you have an idea of why I can't add emails via cn_subscribe() ? From the plugin works fine.
Mon Jan 22, 2007 8:43 pm View user's profile Send private message Visit poster's website
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2857
Location: Germany

Post Reply with quote
I guess it's a path problem.



Play around with the paths in the function cn_subscribe().
Mon Jan 22, 2007 9:28 pm View user's profile Send private message
flesh



Joined: 04 Mar 2006
Posts: 89
Location: Poland

Post Reply with quote
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 Rolling Eyes


Last edited by flesh on Wed Jan 24, 2007 11:59 am; edited 1 time in total
Tue Jan 23, 2007 6:27 pm View user's profile Send private message
flesh



Joined: 04 Mar 2006
Posts: 89
Location: Poland

Post Reply with quote
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 Rolling Eyes


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"
Wed Jan 24, 2007 11:55 am View user's profile Send private message
astrostart



Joined: 11 Feb 2007
Posts: 124
Location: The Netherlands

Post Reply with quote
cn_subscribe doesn't work for me either Sad



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!
Fri Feb 23, 2007 2:53 pm View user's profile Send private message Visit poster's website
Heya Im Me



Joined: 01 Feb 2006
Posts: 189

Post Reply with quote
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 (www.eldar.se) works on his site but I couldn't figure out how he did it...





Thanks for any help on this,



-HIM
Tue Feb 27, 2007 3:00 pm View user's profile Send private message
FI-DD
Admin


Joined: 22 Sep 2005
Posts: 2857
Location: Germany

Post Reply with quote
I fixed a small bug. Please download it again.
Tue Feb 27, 2007 8:37 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.