Page 1 of 1
Secure Email List problem
Posted: Fri Mar 04, 2005 2:41 pm
by fbiss
I am having a problem with SecurEmailL (Secure Email List) V1.0.
I am getting these error in contact.php
Notice: Use of undefined constant act - assumed 'act' in D:WebSites
esadminfbisspossiweb.comwwwcontact.php on line 19
Notice: Undefined index: act in
D:WebSites
esadminfbisspossiweb.comwwwcontact.php on line 19
And these problems in admin.php
Notice: Use of undefined constant act - assumed 'act' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 26
Notice: Undefined index: act in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 26
Notice: Use of undefined constant act - assumed 'act' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 323
Notice: Undefined index: act in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 323
Notice: Use of undefined constant act - assumed 'act' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 409
Notice: Undefined index: act in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 409
Notice: Use of undefined constant act - assumed 'act' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 491
Notice: Undefined index: act in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 491
Notice: Use of undefined constant act - assumed 'act' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 547
Notice: Undefined index: act in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 547
Anyone out there, that can help me?
Archived topic from Iceteks, old topic ID:3149, old post ID:25741
Secure Email List problem
Posted: Fri Mar 04, 2005 3:21 pm
by fbiss
Forgot to mention
This is a windows 2003 server with php 4
Archived topic from Iceteks, old topic ID:3149, old post ID:25742
Secure Email List problem
Posted: Fri Mar 04, 2005 3:25 pm
by Red Squirrel
All php scripts will do that when notice error reporting is turned on. Not sure why, but the most common configuration is something like this in php.ini:
error_reporting = E_ALL & ~E_NOTICE
That should get rid of all the notices. They're more meant for debugging purposes.
Archived topic from Iceteks, old topic ID:3149, old post ID:25743
Secure Email List problem
Posted: Fri Mar 04, 2005 3:33 pm
by fbiss
Hmmmm... dont think my host will be to happy about changing the php.ini
is there anything else i can do?
Would this stop it from working?
I am trying to create a new catogory
and all i get is
Notice: Use of undefined constant act - assumed 'act' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 26
Notice: Use of undefined constant act - assumed 'act' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 323
Notice: Use of undefined constant act - assumed 'act' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 409
Notice: Use of undefined constant act - assumed 'act' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 491
Notice: Use of undefined constant act - assumed 'act' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 547
Notice: Use of undefined constant pass - assumed 'pass' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 550
Notice: Use of undefined constant user - assumed 'user' in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 551
The selected username does not exist!
and the rest of the page is blank
Archived topic from Iceteks, old topic ID:3149, old post ID:25745
Secure Email List problem
Posted: Fri Mar 04, 2005 4:07 pm
by Red Squirrel
There's a php function you can insert in the code that will override php.ini. More info here:
http://ca3.php.net/error-reporting
Archived topic from Iceteks, old topic ID:3149, old post ID:25746
Secure Email List problem
Posted: Fri Mar 04, 2005 5:03 pm
by fbiss
sorry , i dont know much of what i am doing
and i cant tell what i have to add to the php file(s)
Archived topic from Iceteks, old topic ID:3149, old post ID:25748
Secure Email List problem
Posted: Fri Mar 04, 2005 5:11 pm
by Red Squirrel
Just add this near the top of the script (the index.php one):
error_reporting(E_ALL ^ E_NOTICE);
Archived topic from Iceteks, old topic ID:3149, old post ID:25749
Secure Email List problem
Posted: Fri Mar 04, 2005 5:18 pm
by fbiss
ok, I added that to the contacts.php , and the admin.php
and the noticible first errors are gone.
now when i try to add a catogory, i get this error
Warning: fopen(conf_data/index.txt) [function.fopen]: failed to open stream: Permission denied in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 513
Warning: fputs(): supplied argument is not a valid stream resource in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 529
Warning: fputs(): supplied argument is not a valid stream resource in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 530
Warning: fclose(): supplied argument is not a valid stream resource in D:WebSites
esadminfbisspossiweb.comwwwsecuremailladmin.php on line 532
Category added.
Archived topic from Iceteks, old topic ID:3149, old post ID:25750
Secure Email List problem
Posted: Fri Mar 04, 2005 5:31 pm
by fbiss
ok, i fixed those problems with setting permissions threw my control panel,
I can add catorgories, but i cannot add emails to the catorgory
im getting
Category does not exist! Please enter a different category.
what should i be looking at
?
Sorry for being a pain in the butt, I just really would like to get this scrpt working.
this is exactly what i need, and cant find anyother one like it.
Archived topic from Iceteks, old topic ID:3149, old post ID:25751
Secure Email List problem
Posted: Fri Mar 04, 2005 8:11 pm
by Red Squirrel
Hmm it should work out of the box. Make sure to chmod all the text files to 777 and it should work. I'll have to look at the script and see how I coded it, I actually forgot about this one, it's fairly old.
Archived topic from Iceteks, old topic ID:3149, old post ID:25752
Secure Email List problem
Posted: Fri Mar 04, 2005 10:17 pm
by fbiss
Red Squirrel wrote: Hmm it should work out of the box. Make sure to chmod all the text files to 777 and it should work. I'll have to look at the script and see how I coded it, I actually forgot about this one, it's fairly old.
Well its a windows server, so there not tecnically chmod'. but the permisisions are set to full control.
it is weird though, I can basically do everything but, add email addresses
I can create and delete catogories, and delete email addresses. but not add them
Archived topic from Iceteks, old topic ID:3149, old post ID:25754
Secure Email List problem
Posted: Fri Mar 04, 2005 10:41 pm
by Red Squirrel
Odd yeah I'll have to check this out, maybe tomorow. I must of wrote that like at least a year ago, looking at that code will probably kill me.
Archived topic from Iceteks, old topic ID:3149, old post ID:25755
Secure Email List problem
Posted: Sat Mar 05, 2005 7:59 pm
by fbiss
Red Squirrel wrote: Odd yeah I'll have to check this out, maybe tomorow. I must of wrote that like at least a year ago, looking at that code will probably kill me.
thanks man
Archived topic from Iceteks, old topic ID:3149, old post ID:25763
Secure Email List problem
Posted: Tue Mar 08, 2005 7:34 pm
by fbiss
did u get a chance to look at it?
thanks again
Archived topic from Iceteks, old topic ID:3149, old post ID:25810
Secure Email List problem
Posted: Wed Mar 09, 2005 3:06 pm
by Red Squirrel
I checked and really not sure why it does that. And since this is unsupported there won't be another release. Not sure why I never noticed this when I released it. But one way you can add emails is by editing the files. Just look at the examples to have an idea how the files are made, it's basically one value per line and the script knows when to start a new entry.
Archived topic from Iceteks, old topic ID:3149, old post ID:25826
Secure Email List problem
Posted: Wed Mar 09, 2005 6:05 pm
by fbiss
Red Squirrel wrote: I checked and really not sure why it does that. And since this is unsupported there won't be another release. Not sure why I never noticed this when I released it. But one way you can add emails is by editing the files. Just look at the examples to have an idea how the files are made, it's basically one value per line and the script knows when to start a new entry.
yea, I figured out you can just edit the file,
But this takes away the Whole point of the program then, and is easier just to make tables.
Thanks anyway, Going to try to see if i can find a similar script.
If you ever do get it working, let me know by email.
Thanks anyway
Archived topic from Iceteks, old topic ID:3149, old post ID:25830