-
Posts
894 -
Joined
-
Last visited
Everything posted by webgyrl
-
I have never re-booted the router. Jeremy always does that. I have no idea how to do it. It's a Linksys router. Yes I wish I could move back. We are considering it actually. I'll have to talk to Bill about putting together a special package because the Reseller ones that are available now don't have the space and Transfer of the other place. But I'm tired of this crap. Jeremy and I are discussing it all now.
-
Hi All, I have the WEIRDEST problem that is giving me a heart attack! Last night at around 11:30pm I noticed that my email was not being sent. I went to bed figuring it was some server issue (not TCH). Well after logging on today and no emails being sent and seeing all my websites "down" (server time out) I got on the case with my support. They say they can see the sites fine. I can see nothing! My boyfriend went to the studio and checked from that computer, and he can see all sites fine. We have 4 computers in the house and none of them can pull up any of our sites and we can't send Outlook email from the accounts we have. Could the router have glitched and blocked that IP address that all our sites are connected to? I've never had anything like this happen. I can see all other websites fine and I can send and receive ISP email (comcast) just fine. But I can not send any domain email or see any of our sites. What could be the problem?
-
Bang on Bruce. Fixed it! I don't know why but I totally did not see your second sentence after you mentioned the uploads being off... just took me till now to re-read your post. Yah, scatterbrain that I am! Thanks also to Andy for stepping in and helping out!
-
Hi All, I thought this would be a simple issue of adding in some HTML check boxes, but now that I poke deeper, my issue might be related to having to code something into a PHP mailit.php form. Here was my original post in the HTML section: http://www.totalchoicehosting.com/forums/i...showtopic=32281 Basically I am designing a form with multiple check boxes adn I wand the user to be able to tick off as many boxes as they like and have those results returned to me. But it's not working the way I have it. Is there anyone around right now that might be able to help me over IM or email? Thanks!
-
Carbonize: I found this in the net: http://www.evolt.org/article/Storing_form_...0222/index.html From reading this it would seem I need to make some kind of special PHP code in my mailit.php form? But I've no clue where to start. Any ideas. Any PHP gurus around at this hour to help? Thanks!
-
Carbonize: I am not sure what you mean here. I have no idea how to use an array. I am using a PHP Form mail type script and I'm not very good with programming this sort of thing. Is there another way you can explain this to me? I've zipped up the form files in a zip and put them on the site in case you or someone else might be able to look at them and lend a hand. The link is: >h##p:/www.mbstia.com/logo-design.zip (Replace Pound signs with T's) I thought all I had to do was put the checkboxes in the form, but this seems to be wrong! I'm confuzzled! LOL Thanks so much!
-
Ah- Ok. I just saw the upload button and assumed. Thanks for letting me know Bruce!
-
Hi gang! I'm designing a form and I need some help with it. I basically want a person to be able to tick off multiple boxes to describe the kind of logo they want to get. I've put in all the checkboxes with the styles and asked the people to check multiple as they apply to their design needs. For some strange reason, when the form is sent I am only getting ONE of the check boxes values sent to me. The form isn't sending the multiple values represented by the checkboxes that they chose (make sense???). I'm sure I've done something wrong... can someone help? Here is the code for that part of the form: ><td width="7%" ><input name="chk" type="checkbox" class="txtbox" id="chk" value="Fancy" ></td> <td width="25%" >Fancy</td> <td width="7%" > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Cutting-Edge" > </td> <td width="24%" >Cutting-Edge</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Unique/Creative" > </td> <td >Unique / Creative</td> </tr> <tr> <td ><input name="chk" type="checkbox" class="txtbox" id="chk" value="Clean/Simple" ></td> <td >Clean/Simple</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Classy" > </td> <td >Classy</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Professional" > </td> <td >Professional</td> </tr> <tr> <td ><input name="chk" type="checkbox" class="txtbox" id="chk" value="Corporate" ></td> <td >Corporate</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Modern" > </td> <td >Modern</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Industry Oriented" > </td> <td >Industry Oriented</td> </tr> <tr> <td ><input name="chk" type="checkbox" class="txtbox" id="chk" value="Outdoors/Natural" ></td> <td >Outdoors/Natural</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Traditional" > </td> <td >Traditional</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Local/Neighborhood" > </td> <td >Local / Neighborhood</td> </tr> <tr> <td ><input name="chk" type="checkbox" class="txtbox" id="chk" value="High Tech" ></td> <td >High Tech</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Retro" > </td> <td >Retro</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Fun" > </td> <td >Fun</td> </tr> <tr> <td ><input name="chk" type="checkbox" class="txtbox" id="chk" value="Serious" ></td> <td >Serious</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Illustrative" > </td> <td >Illustrative</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Silly/Cartoon" > </td> <td >Silly/Cartoon</td> </tr> <tr> <td ><input name="chk" type="checkbox" class="txtbox" id="chk" value="Masculine" > </td> <td >Masculine</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Feminine" > </td> <td >Feminine</td> <td > <input name="chk" type="checkbox" class="txtbox" id="chk" value="Childlike" > </td> <td valign="top" >Childlike</td> The same thing is happening below that part where I have the categories. Basically anything where I have a checkbox is only returning one of the items checked and not multiple items when the data is sent via email. The actual form is here (replace pound signs) >h##p://www.mbstia.com/logo-design/ld-questions2.php Thanks for the help! OH PS: I can't seem to upload any files. I get this message when I try to upload Error Upload failed. Please ask the administrator to ensure the uploads directory is writeable
-
This was the only cookie I could find... for the hard working men... LOL Thank you sirs!
-
I got it! I changed some things in the language file and also added in another space before the article title in the PHP code. Wow, I am so happy! I also learned a lot. But I'd never have learned about this without your help Carbonize and Don. Thank you SO much!
-
Don! This worked. I got: Hello Admin, A a user has posted a new comment to a content item at http://www.xxxxxxxxxx.com: Name:Test E-mailtest2@test.com http://www.test.com Title:Test2 Comment:This is another test to see if this really works. This is just a test. Love Is http://www.xxxxxxxxxxx.com/index.php?optio...5&Itemid=26 Please do not respond to this message as it is automatically generated and is for information purposes only. Now my only question would be how to get spaces after the colons : But I will fiddle. I can't tell you how much I appreciate the help. I went to a few sites to learn PHP, but they honestly scared me to death! LOL I am gonna try the site you suggested.
-
I think I'm just hopeless at this! I remove a period, I get an error, I put a period back in, I get an error. I tried this: > $acmailtext .= _AKOCOMMENT_ENTERTITLE $title "\n"; Doesn't work... still get: Parse error: parse error, unexpected T_VARIABLE in /home/content/r/e/c/xxxxxxx/html/components/com_akocomment/akocomment.php on line 167 I think I have to take a break and clear my head for a bit. I suck at this! LOL
-
Ah OK Don. I will fiddle. Thank you so much for the help!
-
New code block: > # Send out admin mail if ($ac_notify && is_email($ac_notify_email) ) { $query1 = ("SELECT title FROM #__content WHERE id='$contentid'"); $database->setQuery( $query1 ); $rowTitle = $database->loadResult(); $articlelink = sefRelToAbs($mosConfig_live_site.'/index.php?option=com_content&task=view&id='.$contentid.'&Itemid='.$acitemid); $acmailtext = _AKOCOMMENT_ADMINMAIL; $acmailtext .= _AKOCOMMENT_ENTERNAME . $acname . "\n"; if ($email != '') $acmailtext .= _AKOCOMMENT_ENTERMAIL $email. "\n"; if ($web != '') $acmailtext .= $web. "\n"; $acmailtext .= _AKOCOMMENT_ENTERTITLE $title. "\n"; $acmailtext .= _AKOCOMMENT_ENTERTEXT $comment. "\n"; $acmailtext .= $rowTitle. "\n"; $acmailtext .= $articlelink. "\n"; $acmailtext .= _AKOCOMMENT_ADMINMAILFOOTER; $headers .= 'From: ' . $ac_notify_email; mail($ac_notify_email,_AKOCOMMENT_ADMINMAILHEADER,strip_tags($acmailtext),$headers); } I got this error: Parse error: parse error, unexpected T_VARIABLE in /home/content/r/e/c/xxxxxxxxxxx/html/components/com_akocomment/akocomment.php on line 165 Is there supposed to be 1 space between the end of the variable name and the period? Line 165 is: > if ($email != '') $acmailtext .= _AKOCOMMENT_ENTERMAIL $email. "\n";
-
Alright... I changed all the code to this: > # Send out admin mail if ($ac_notify && is_email($ac_notify_email) ) { $query1 = ("SELECT title FROM #__content WHERE id='$contentid'"); $database->setQuery( $query1 ); $rowTitle = $database->loadResult(); $articlelink = sefRelToAbs($mosConfig_live_site.'/index.php?option=com_content&task=view&id='.$contentid.'&Itemid='.$acitemid); $acmailtext = _AKOCOMMENT_ADMINMAIL; $acmailtext .= _AKOCOMMENT_ENTERNAME $acname. "\n"; if ($email != '') $acmailtext .= _AKOCOMMENT_ENTERMAIL $email. "\n"; if ($web != '') $acmailtext .= $web "\n"; $acmailtext .= _AKOCOMMENT_ENTERTITLE $title. "\n"; $acmailtext .= _AKOCOMMENT_ENTERTEXT $comment. "\n"; $acmailtext .= $rowTitle. "\n"; $acmailtext .= $articlelink. "\n"; $acmailtext .= _AKOCOMMENT_ADMINMAILFOOTER; $headers .= 'From: ' . $ac_notify_email; mail($ac_notify_email,_AKOCOMMENT_ADMINMAILHEADER,strip_tags($acmailtext),$headers); } This is the error I am getting now: Parse error: parse error, unexpected T_VARIABLE in /home/content/r/e/c/xxxxxxxx/html/components/com_akocomment/akocomment.php on line 164 According to Dreamweaver code view, like 164 is: >$acmailtext .= _AKOCOMMENT_ENTERNAME $acname. "\n"; Obviously there is something in the syntax that is wrong... but I can't figure out what it might be! All I did was take out the periods before the variables. LOL Joy of joys! But I feel we are getting somewhere!
-
OK I am going to take out all the periods before the variables and then see what happens. Thank you Don! Will let you know what happens!
-
Ah OK. So then I assume I should to that for the rest of the lines of code then? Correct?
-
Drats! That didn't work either. ># Send out admin mail if ($ac_notify && is_email($ac_notify_email) ) { $query1 = ("SELECT title FROM #__content WHERE id='$contentid'"); $database->setQuery( $query1 ); $rowTitle = $database->loadResult(); $articlelink = sefRelToAbs($mosConfig_live_site.'/index.php?option=com_content&task=view&id='.$contentid.'&Itemid='.$acitemid); $acmailtext = _AKOCOMMENT_ADMINMAIL; $acmailtext .= _AKOCOMMENT_ENTERNAME .$acname. "\n"; if ($email != '') $acmailtext .= _AKOCOMMENT_ENTERMAIL .$email. "\n"; if ($web != '') $acmailtext = $web "\n"; $acmailtext .= _AKOCOMMENT_ENTERTITLE .$title. "\n"; $acmailtext .= _AKOCOMMENT_ENTERTEXT .$comment. "\n"; $acmailtext .= .$rowTitle. "\n"; $acmailtext .= .$articlelink. "\n"; $acmailtext .= _AKOCOMMENT_ADMINMAILFOOTER; $headers .= 'From: ' . $ac_notify_email; mail($ac_notify_email,_AKOCOMMENT_ADMINMAILHEADER,strip_tags($acmailtext),$headers); } I got this error: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/content/r/e/c/xxxxxxxx/html/components/com_akocomment/akocomment.php on line 166 Any ideas?
-
Hi Don! Hugs! OK I took out the period before the equals sign. ># Send out admin mail if ($ac_notify && is_email($ac_notify_email) ) { $query1 = ("SELECT title FROM #__content WHERE id='$contentid'"); $database->setQuery( $query1 ); $rowTitle = $database->loadResult(); $articlelink = sefRelToAbs($mosConfig_live_site.'/index.php?option=com_content&task=view&id='.$contentid.'&Itemid='.$acitemid); $acmailtext = _AKOCOMMENT_ADMINMAIL; $acmailtext .= _AKOCOMMENT_ENTERNAME .$acname. "\n"; if ($email != '') $acmailtext .= _AKOCOMMENT_ENTERMAIL .$email. "\n"; if ($web != '') $acmailtext = .$web. "\n"; $acmailtext .= _AKOCOMMENT_ENTERTITLE .$title. "\n"; $acmailtext .= _AKOCOMMENT_ENTERTEXT .$comment. "\n"; $acmailtext .= .$rowTitle. "\n"; $acmailtext .= .$articlelink. "\n"; $acmailtext .= _AKOCOMMENT_ADMINMAILFOOTER; $headers .= 'From: ' . $ac_notify_email; mail($ac_notify_email,_AKOCOMMENT_ADMINMAILHEADER,strip_tags($acmailtext),$headers); } I got this error: Parse error: parse error, unexpected '.' in /home/content/r/e/c/xxxxxxxxxxxxx/html/components/com_akocomment/akocomment.php on line 166 I am going to try taking out the periods before and after $web Will post back with results.
-
Ok so I thought maybe there were some missing periods, so I changed the places where there was only one period in front of a variable to a period before and after with no space. So the code looks like: ># Send out admin mail if ($ac_notify && is_email($ac_notify_email) ) { $query1 = ("SELECT title FROM #__content WHERE id='$contentid'"); $database->setQuery( $query1 ); $rowTitle = $database->loadResult(); $articlelink = sefRelToAbs($mosConfig_live_site.'/index.php?option=com_content&task=view&id='.$contentid.'&Itemid='.$acitemid); $acmailtext = _AKOCOMMENT_ADMINMAIL; $acmailtext .= _AKOCOMMENT_ENTERNAME .$acname. "\n"; if ($email != '') $acmailtext .= _AKOCOMMENT_ENTERMAIL .$email. "\n"; if ($web != '') $acmailtext .= .$web. "\n"; $acmailtext .= _AKOCOMMENT_ENTERTITLE .$title. "\n"; $acmailtext .= _AKOCOMMENT_ENTERTEXT .$comment. "\n"; $acmailtext .= .$rowTitle. "\n"; $acmailtext .= .$articlelink. "\n"; $acmailtext .= _AKOCOMMENT_ADMINMAILFOOTER; $headers .= 'From: ' . $ac_notify_email; mail($ac_notify_email,_AKOCOMMENT_ADMINMAILHEADER,strip_tags($acmailtext),$headers); } I get this error: Parse error: parse error, unexpected '.' in /home/content/r/e/c/xxxxxxxxx/html/components/com_akocomment/akocomment.php on line 166 So now there is some extra period in line 166. From the reading I've done these errors may not even be reflecting the right line? Is that true? Like the error may say line 166, but in fact it's 168 or 164 or something? I think I will stop fiddling and wait to hear back from you Carbonize. I don't want to butcher the code any more than I have! LOL Thanks!
-
Hi Carbonize... OK this is what I replaced the Admin block of code with ># Send out admin mail if ($ac_notify && is_email($ac_notify_email) ) { $query1 = ("SELECT title FROM #__content WHERE id='$contentid'"); $database->setQuery( $query1 ); $rowTitle = $database->loadResult(); $articlelink = sefRelToAbs($mosConfig_live_site.'/index.php?option=com_content&task=view&id='.$contentid.'&Itemid='.$acitemid); $acmailtext = _AKOCOMMENT_ADMINMAIL; $acmailtext .= _AKOCOMMENT_ENTERNAME .$acname. "\n"; if ($email != '') $acmailtext .= _AKOCOMMENT_ENTERMAIL .$email. "\n"; if ($web != '') $acmailtext .= $web "\n"; $acmailtext .= _AKOCOMMENT_ENTERTITLE . $title "\n"; $acmailtext .= _AKOCOMMENT_ENTERTEXT . $comment"\n"; $acmailtext .= .$rowTitle. "\n"; $acmailtext .= .$articlelink. "\n"; $acmailtext .= _AKOCOMMENT_ADMINMAILFOOTER; $headers .= 'From: ' . $ac_notify_email; mail($ac_notify_email,_AKOCOMMENT_ADMINMAILHEADER,strip_tags($acmailtext),$headers); } I got this error when trying to add a coment: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/content/r/e/c/xxxxxxxxxxx/html/components/com_akocomment/akocomment.php on line 166 I am sure I must have done something wrong! Line 166 is: > if ($web != '') $acmailtext .= $web "\n"; Should there be periods around the $web? I have no clue! Thank you so much for your help. I've been messing with this for 2 weeks with no progress!
-
Carbonize! Wow! Thank you. So I should use those two lines where in that block of code? And will the lines come in with spaces in between them? I don't want it all smushed together if that is possible. I'm sorry if this sounds stupid, I really have no clue when it comes to PHP. Thank you so much.
-
Hi all! I have been having a terribly trying time with a script I am trying to modify for a Joomla Component called AKO Comment. Basically this component allows for comments to be made on articles on the site and an alert with the comment content is sent to the admin address listed in the back end. The original block of code for this script for emails being sent to Admin is as follows: ># Send out admin mail if ($ac_notify && is_email($ac_notify_email) ) { $query1 = ("SELECT title FROM #__content WHERE id='$contentid'"); $database->setQuery( $query1 ); $rowTitle = $database->loadResult(); $articlelink = sefRelToAbs($mosConfig_live_site.'/index.php?option=com_content&task=view&id='.$contentid.'&Itemid='.$acitemid); $acmailtext = _AKOCOMMENT_ADMINMAIL; $acmailtext .= _AKOCOMMENT_ENTERNAME.': '.$acname; if ($email != '') $acmailtext .= _AKOCOMMENT_ENTERMAIL.': <a href="mailto:'.$email.'">'.$email.'</a>'; if ($web != '') $acmailtext .= 'Web: <a href="'.$web.'">'.$web.'</a>'; $acmailtext .= _AKOCOMMENT_ENTERTITLE . $title; $acmailtext .= _AKOCOMMENT_ENTERTEXT . $comment; $acmailtext .= $rowTitle ; $acmailtext .= '<a href="' . $articlelink.'">' . $articlelink . '</a>\n'; $acmailtext .= _AKOCOMMENT_ADMINMAILFOOTER; $headers = 'MIME-Version: 1.0' . '\n'; //$headers .= 'Content-type: text/html; charset=iso-8859-1' . '\n'; $headers .= 'Content-type: text/plain; ' . _ISO . '\n'; $headers .= 'From: ' . $ac_notify_email; mail($ac_notify_email,_AKOCOMMENT_ADMINMAILHEADER,$acmailtext,$headers); } I want to strip out ALL the HTML formatting for the alert notices for the comments and comment reporting so that only a plain text email is sent. Each line of data sent should have a space in between, so the comments and data are not all squished together. The developer just told me to change everything in the Admin Email section of the script from 'Content-type: text/html; ' to 'Content-type: text/plain; ' I did this, but it did not work. I got all the HTML junk in the body of the email and it looks a mess! Then he said something about taking out all the HTML tags, so I did that but I keep getting a parsing error that says: Parse error: parse error, unexpected '.' in /home/content/r/e/c/xxxxxxxxx/html/components/com_akocomment/akocomment.php on line 164 So I have been fiddling and nothing is working. I am assuming by the error that there is some unexpected period somewhere. When I change one period I get another parsing error and then I got some other strange errors also. What I have right now is the following: ># Send out admin mail if ($ac_notify && is_email($ac_notify_email) ) { $query1 = ("SELECT title FROM #__content WHERE id='$contentid'"); $database->setQuery( $query1 ); $rowTitle = $database->loadResult(); $articlelink = sefRelToAbs($mosConfig_live_site.'/index.php?option=com_content&task=view&id='.$contentid.'&Itemid='.$acitemid); $acmailtext = _AKOCOMMENT_ADMINMAIL; $acmailtext .= _AKOCOMMENT_ENTERNAME .$acname. "\n"; if ($email != '') $acmailtext .= _AKOCOMMENT_ENTERMAIL .$email. "\n"; if ($web != '') $acmailtext .= $web "\n"; $acmailtext .= _AKOCOMMENT_ENTERTITLE . $title "\n"; $acmailtext .= _AKOCOMMENT_ENTERTEXT . $comment"\n"; $acmailtext .= .$rowTitle. "\n"; $acmailtext .= .$articlelink. "\n"; $acmailtext .= _AKOCOMMENT_ADMINMAILFOOTER; $headers = 'MIME-Version: 1.0' . "\n"; //$headers .= 'Content-type: text/plain; charset=iso-8859-1' . "\n"; $headers .= 'Content-type: text/plain; ' . _ISO . "\n"; $headers .= 'From: ' . $ac_notify_email; mail($ac_notify_email,_AKOCOMMENT_ADMINMAILHEADER,$acmailtext,$headers); } With this in place I am getting this error: Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/content/r/e/c/xxxxxxxxxxx/html/components/com_akocomment/akocomment.php on line 166 I'll be honest, at this point I've spent 5 hours fiddling and farting around with no luck. I tried to read the PHP docs, but they are like greek to me as I am not a programmer and have very, very limited ability to work with PHP. I don't have time to learn a whole programming language as I very rarely modify scripts at all. Can anyone point out my error here in this attempt to just get plain text emails? The developer does not have a lot of time to help me. This is an open source component, so there is not much support. His forums have hardly anyone on them and I've asked this question to some Joomla people I know with no answer. If someone could help out, I would really appreciate it. I'm going NUTS! Thanks!
-
Bruce, Thank you for the answer! How does a person get an SSL certificate? Thanks!
-
Hi! Just a quick question about someone who has a site with Silver Hosting Plan: Does that person have a unique IP address for their web site? Or, is the same IP address assigned to multiple domain names? If we need our domain name to have a unique IP address, is it possible to pay more for that kind of hosting? Do you offer that kind of thing at TCH? Thanks!
