View Full Version : " name="4" class="bginput">

July 15th, 2009, 11:32 PM
That line in the title is what has appeared under the field where the Administrator Email Address in Photo Post Global Options (ver 6.23) is supposed to go. When I enter my email address in that field and save the changes, the field is left empty and the line: " name="4" class="bginput"> remains under the field.

Where in the scripts is the admin_email documented where pehaps I can edit the address to refer to my email address.

I know how this happened. I was attempting to have the "from:" field in the sent email to read: "Slicker-Productions" <slickerooo@comcast.net> by entering that string exactly in the Administator Email Address field. Once I saved the changes, the " name="4" class="bginput"> appeared and won't take an email address entry.

Is there anything short of doing a fresh install to cure this?

July 15th, 2009, 11:48 PM
What also is odd, when sending a mass emaill to all users, the from field in the email header reads "From Slicker Productions [slickerooo@comcast.net] the way I wanted it to read but it cant be changed now. Also, I would like to get rid of the "From"

July 16th, 2009, 11:06 AM
Slicker-Productions Art Share - Main Index (http://www.slicker-productions.com/PhotoPost/) is the site url by the way. I'm still toying with it. Another thing, I found that AOL doesn't seem to accept emails from this program. That's why I changed the admin email in globals. Yahoo accepts mail as I tested the registration functions using yahoo addresses. My own isp accepts the emails. Comcast didn't until I change the header. Now it lands in my junk mail.

Chuck S
July 16th, 2009, 11:28 AM
You sure you have not entered html in a field that does not take email?

what is entered in the admin global options as your admin email? It should be just this


July 16th, 2009, 11:38 AM
that's what i attempted. I'm afraid I screwed it up. There is nothing in the admin email address field. When I try to edit and save an entry in that field, it comes back blank with " name="4" class="bginput"> under the entry field. Wherever this information is stored, I imaging I have to edit it to read an email without html code

Chuck S
July 16th, 2009, 11:47 AM
UPDATE pp_settings SET setting='slickerooo@comcast.net' WHERE id=4

Can you issue that statement in phpmyadmin in your hosting control panel against the database that should fix it.

July 16th, 2009, 12:08 PM
it's my server so I'll have to go in as root and find it. I'll try to do that later tonight as I'm tied up with work related chores presently. I'll let you know how I made out. Thanks for your help :)

Chuck S
July 16th, 2009, 12:10 PM
Not a problem

July 16th, 2009, 10:04 PM
OK... I used your statement in my pp_settings table and the database WHERE id=4 reads my correct email address. However, in the Global Options in my administrative edit settings in the admin section of the program, the field for editing the Administrator Email Address is still empty with "name="4" class="bginput"> listed under the field. I've attached a screen shot of the global options to show what I mean... And every time I try to input an email address into that field and save the changes, the changes are processed but comes back blank again.

Chuck S
July 17th, 2009, 09:19 AM
Then the query you submitted was not run against the database can be the only answer here. You see the query I gave you changes the setting to an email address. You need to get that html you inputted in that box out of that setting which is what breaks things.

What is your photopost table prefix?

July 17th, 2009, 02:28 PM
The table is pp_2009settings. I've attached a screen shot of that particular table with the id = 4 info. It shows the table setting to be the correct email with no html tags. I stopped home for lunch and will catch you later. Thanks

July 17th, 2009, 02:36 PM
by the way, i fooled around with the scripts to remove the "From:" from the email header ;:)

Chuck S
July 17th, 2009, 03:14 PM
There is your issue with erroneous html in the database. You need to modify the query I gave you to the right prefix like I last posted but if you already did so then good.

UPDATE pp2009_settings SET setting='slickerooo@comcast.net' WHERE id=4

July 17th, 2009, 03:52 PM
Yup. I knew enough to do that. You know, I'm thinking of opening a new data base and doing a fresh install and be done with it. I know not to make that admin email error again.

If at first you don't succeed... yada yada yada

Chuck S
July 17th, 2009, 03:57 PM
well there is nothing in our files that make things look like your picture the only way I have ever seen that is if html was entered in a database setting it should not be.

July 17th, 2009, 06:20 PM
Ok, thanks for your input. I might play with it a little more. I'll let u know if i succeed.

Chuck S
July 17th, 2009, 06:24 PM
Yeah I think you will find a default install without any modifications works fine.