Secure Email List problem

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
fbiss
Posts: 11
Joined: Fri Mar 04, 2005 9:49 am

Secure Email List problem

Post 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
fbiss
Posts: 11
Joined: Fri Mar 04, 2005 9:49 am

Secure Email List problem

Post 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
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Secure Email List problem

Post 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
Honk if you love Jesus, text if you want to meet Him!
fbiss
Posts: 11
Joined: Fri Mar 04, 2005 9:49 am

Secure Email List problem

Post by fbiss »

Hmmmm... dont think my host will be to happy about changing the php.ini :huh:

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
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Secure Email List problem

Post 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
Honk if you love Jesus, text if you want to meet Him!
fbiss
Posts: 11
Joined: Fri Mar 04, 2005 9:49 am

Secure Email List problem

Post by fbiss »

Red Squirrel wrote: 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
sorry , i dont know much of what i am doing

and i cant tell what i have to add to the php file(s) :dosgonebad:

Archived topic from Iceteks, old topic ID:3149, old post ID:25748
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Secure Email List problem

Post 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
Honk if you love Jesus, text if you want to meet Him!
fbiss
Posts: 11
Joined: Fri Mar 04, 2005 9:49 am

Secure Email List problem

Post 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
fbiss
Posts: 11
Joined: Fri Mar 04, 2005 9:49 am

Secure Email List problem

Post 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
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Secure Email List problem

Post 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. :lol:

Archived topic from Iceteks, old topic ID:3149, old post ID:25752
Honk if you love Jesus, text if you want to meet Him!
fbiss
Posts: 11
Joined: Fri Mar 04, 2005 9:49 am

Secure Email List problem

Post 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. :lol:
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 :grade11math:

Archived topic from Iceteks, old topic ID:3149, old post ID:25754
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Secure Email List problem

Post 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. :lol:

Archived topic from Iceteks, old topic ID:3149, old post ID:25755
Honk if you love Jesus, text if you want to meet Him!
fbiss
Posts: 11
Joined: Fri Mar 04, 2005 9:49 am

Secure Email List problem

Post 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. :lol:
thanks man :awesome:

Archived topic from Iceteks, old topic ID:3149, old post ID:25763
fbiss
Posts: 11
Joined: Fri Mar 04, 2005 9:49 am

Secure Email List problem

Post 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
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Secure Email List problem

Post 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
Honk if you love Jesus, text if you want to meet Him!
fbiss
Posts: 11
Joined: Fri Mar 04, 2005 9:49 am

Secure Email List problem

Post 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
Locked