Jump to content

nolageek

Members
  • Posts

    61
  • Joined

  • Last visited

Everything posted by nolageek

  1. Hmm.. It must be a missing ; or something.. but I can't see anything. The weird thing is is that it was working last night. I hope I didn't do something stupid before I saved it the last time. Uhg. So typically me. I was hoping a fresh set of eyes could spot something I'm missing. Thanks for taking a look at it!
  2. I'm delving back into php/sql again (first time since I abandoned Postnuke) I swear this was working last night, but all of a sudden it's giving me this error: >Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL Server Host 'www.reelidentities.org' (11) in /home/reelide/public_html/films/test.html on line 18 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/reelide/public_html/films/test.html on line 20 Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/reelide/public_html/films/test.html on line 22 1 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/reelide/public_html/films/test.html on line 24 This is my code, with the exception of the username//password, which I've confirmed are correct on my server: ><?php if ($submit) { // process form $db = mysql_connect("reelidentities.org", "<username>", "<password>"); mysql_select_db("reelide_movabletype",$db); $sql = "INSERT INTO mt_filminfo (filminfo_director,filminfo_producer,filminfo_name,filminfo_address,filminfo_la,fi minfo_dayphone,filminfo_evephone,filminfo_fax,filminfo_email,filminfo_web,filminfo_ru ning,filminfo_orgformat,filminfo_complete) VALUES ('filminfo_director','filminfo_producer','filminfo_name','filminfo_address','filminfo_la','filminfo_dayphone',',filminfo_evephone','filminfo_fax','filminfo_email','filminfo_web','filminfo_running','filminfo_orgformat','filminfo_complete')"; $result = mysql_query($sql); echo "Thank you! Information entered.\n"; } else{ $db = mysql_connect("reelidentities.org", "<username>", "<password>"); mysql_select_db("reelide_movabletype",$db); $result = mysql_query("SELECT * FROM mt_filminfo WHERE filminfo_id = $record",$db); echo $record; if ($myrow = mysql_fetch_array($result)) { ?> <input type="Hidden" name="<?php echo"$record"?>"> <a href="http://reelidentities.org/films/test.html?record=<?php echo $record + 1; ?>">Next Record</a> <form method="post" action="<?php echo $PHP_SELF?>"> <h1>Film Information</h2> <div class="formname">Film Title</div><input type="Text" name=""><br> <div class="formfield"></div> <div class="formname">Director</div> <div class="formfield"><input type="Text" name="filminfo_director" value="<?php echo $myrow["filminfo_director"]; ?>" ></div> <div class="formname">Producer</div><div class="formfield"><input type="Text" name="filminfo_producer" value="<?php echo $myrow["filminfo_producer"]; ?>"></div> <h1>Entrant Information</h1> <div class="formname">Current Status:</div> <div class="formfield"></div> <div class="formname">Name:</div> <div class="formfield"><input type="Text" name="filminfo_name" value="<?php echo $myrow["filminfo_name"]; ?>"></div> <div class="formname">Mailing Address:</div> <div class="formfield"><input type="Text" name="filminfo_address" value="<?php echo $myrow["filminfo_address"]; ?>"></div> <div class="formname">Louisiana Filmmaker?</div> <div class="formfield"><input type="Text" name="filminfo_la" value="<?php echo $myrow["filminfo_la"]; ?>"></div> <div class="formname">Daytime Phone?</div> <div class="formfield"><input type="Text" name="filminfo_dayphone" value="<?php echo $myrow["filminfo_dayphone"]; ?>"></div> <div class="formname">Evening Phone?</div> <div class="formfield"><input type="Text" name="filminfo_evephone" value="<?php echo $myrow["filminfo_evephone"]; ?>"></div> <div class="formname">Fax:</div> <div class="formfield"><input type="Text" name="filminfo_fax" value="<?php echo $myrow["filminfo_fax"]; ?>"></div> <div class="formname">E-Mail:</div> <div class="formfield"><input type="Text" name="filminfo_email" value="<?php echo $myrow["filminfo_email"]; ?>"></div> <div class="formname">Web Address</div> <div class="formfield"><input type="Text" name="filminfo_web" value="<?php echo $myrow["filminfo_web"]; ?>"></div> <div class="formname">Exact Running Time of Film:</div> <div class="formfield"><input type="Text" name="filminfo_running" value="<?php echo $myrow["filminfo_running"]; ?>"></div> <div class="formname">Original Format:</div> <div class="formfield"><input type="Text" name="filminfo_orgformat" value="<?php echo $myrow["filminfo_orgformat"]; ?>"></div> <div class="formname">Film Category</div> <div class="formfield"></div> <div class="formname">Date Completed:</div> <div class="formfield"><input type="Text" name="filminfo_completed" value="<?php echo $myrow["filminfo_completed"]; ?>"></div> <div class="formname">Synopsis:</div> <div class="formfield"></div> <input type="Submit" name="submit" value="Enter information"> </form> <?php } } // end if ?> The page is here: http://reelidentities.org/films/test.html?record=1
  3. I even stated in my original post that I didn't think TCH would do such a thing.. but it is the norm (overwhelmingly so) for hosting companies to remove negative comments from their forums. I haven't seen any instance of this here, but it did strike me as odd that my thread was gone a day after I posted it. That's it. No biggy. Not blaming anyone for anything. Too busy trying to find an easy way to admin a sql database (and have some computer illiterates do the same... anyone have any suggessions for a dummy-proof sql manager? These people arn't going to understand creating queries or anyhting like that. Anyone know anyone that would write a VB interface for cheap? It's for a non-profit organization so they dont have much money for these things... (really) Thanks! Vincent
  4. I hope I just can't find it, but I hope a post I made regarding a problem with TCH service (that I later admited was not a problem after all - it was an error on my part) wasn't deleted. The post was regarding a question I had about the MySQL server address. It ended with a remark about the Help Desk system. (It was about all help desk systems, not just this one.) Like I said, I hope I just can't find it, but according to my "Last 10 Posts" I haven't made a post since Aril 2nd - and this was Thursday - Friday. This doesn't seem like something TCH would do - so I'm probably making a mistake. Vincent
  5. I know I can add the lines to my .htaccess, but would this be something I should do in cpanel in apache extensions, or something?
  6. ALthough I would never <strikeout>admit to</strikeout> recommend it, "Back up copies" of Dreamweaver are quite abundant on the various Gnutella networks. You could check it out that way, to see if it's worth buying. I did that, but I hardly ever use it, so I uninstalled it and never looked back. I usually just handcode stuff using an editor that colorizes HTML/PHP code. I don't like WYSIWYG at all. I'll install it if I have a large image that I want to break up and align using tables, but that's about it.
  7. Well, what about this: I was thinking about moving my noleftturns.com account here. It's a collection of my friends blogs. One installation of Movable Type, but 4 different blogs. noleftturns.com/vincent noleftturns.com/gina noleftturns.com/dan and noleftturns.com/marshall Would this go against your policy? I REALLY dont want to split this up, since the idea is that it's a collection of friend's weblogs.
  8. My 2 cents: We may only be allowed to check email 15 times an hour, but we'll be able to send 1000+ e-mails an hour? That sounds awefully backwards to me. While I understand you run a business, so do many of us... I didn't appreciate the "You'll get you 15 e-mail checks an hour and you'll like it" attitute it implied. I still wuv you guys, but I'm glad I dont use this account as my primary e-mail. Vincent
  9. Are there any plans to update mymMyAdmin? I like the newer setup much better than the one TCH has installed.
  10. Works for me too.
  11. Not true, technically. Check out reelidentities.org for my gallery integration. Here's how I did it. I use modules for my header and footer in Movable type, then call them using MTInclude. Create 2 New Index Templates, I call mine "header for gallery" and "footer for gallery". In the header index template put your header info (or in my case <$MTInclude module="header"$>) then output this as '/path/to/gallery/html_wrap/wrapper.header Then, in the footer put your footer info (or in my case <$MTInclude module="footer"$>) then output this as '/path/to/gallery/html_wrap/wrapper.footer As simple as that. (It really is simple... dispite what that must look like to a MT newbie heheh)
  12. I was using phpnuke, and switched to postnuke when they split from phpnuke. They're both have tremendous possibilities, but are slowly killing themselves. phpnuke is closed development, so it's one person working on this monumentally huge program - I found it to be riddled with bugs and problems. postnuke was going strong for over a year and all of a sudden egos exploded and now the development camp has been filled with namecalling and infighting. I dropped using the *nukes all together in favor of MT. MT is extremely flexable. It's got amazing support, new features are always coming out.... I found that even as I added more and more modules to my journal site, no one used them... personals, discussion boards, horoscopes, galleries, etc... They're tons of 3rd party scripts that you can easily add the MT header to and blammo - integrated into MT. CHeck out reelidentities.org for my gallery-in-MT integration. my 2 cents. Vincent
  13. Also, do you know how to make a form so that I can have a box for people to fill out on the site's index page to sign up for mailing lists?
  14. That wasn't it, but it was ewually as stupid. Had /albums appended to one too many configuration lines. Uhg. I knew it was going to be something simple. Thanks!
  15. Correct. I want to use my movable type headers, output them to a file, then include them into the listinfo page (and the other pages) I thought of php or ssi, but I dont theink there's an actual page that is sent.. I think it's the output of a script.. but I dont know where to look.
  16. Anyone know how to customise the header and footer for the web interface of mailman? (NOT the header/footer that is send with the e-mails.) Thanks! Vincent
  17. I've used probably 8 or 9 hosts in my time - I don't think I've ever had to change the #!/usr/bin/perl line. It's pretty much always going to be that. Vincent
  18. Hmmm. Ok, I've done it via gallery, via the gallery remote, and via ftp. THe pictures are always coming up broken. I'd think it was the gallery itself if the images were being found.. but I can't even go directly to them and I know they're there. Hmmm. Vincent
  19. No I didn't. But I know the images are good, but they dont show even if I go directly to them in the browser... Hmmm.. I'm importing them FROM http://www.reelidentities.org/gallery/pics/2003-rhps Let me see if http://www.reelidentities.org/gallery/pics...s/rhps-9275.jpg works. If it does, then we know it's something that gallery is doing when it imports them. Ok. It worked. It must be something with the gallery importer. Wierd. I've done it this way before on another server and it worked fine. VIncent
  20. Ok. Same problem with the second album. I *know* I uploaded them in BINARY. Help! heheheh It's probably something silly and obvious, but I'm at a loss.
  21. OK, I fixed the cookie problem. (I had in fact changed the URL) But, I still cant figure out what's going on with the images. I'm getting ready to upload my second album, I'll be sure to send them in BINARY mode to see if they work this time. That's all I can think of that would cause this. VIncent
  22. I installed gallery to http://www.reelidentities.org/gallery/ I uploaded photos, and imported them into http://www.reelidentities.org/gallery/album01 If I look via FTP, the photos are in the directory. when I view it via my browser, I get broken images. If I go directly to one of the images, http://www.reelidentities.org/gallery/albu...1/fri_07_03.jpg, I get page not found. I thought maybe I had uploaded them as ASCII by accident, but I re-uploaded them. Any ideas? Vincent
  23. On my server, I installed Movable Type into the colowing directory: /cgi-bin/mt-2.63/ I'd like to reference this directory by using /cgi-bin/mt/ That way, when I upgrade movable type to version 2.7, etc. I would just have to update the symbolic link, pointing /cgi-bin/mt to /cgi-bin/mt-2.7/ I can't remember the correct syntax for doing this, and would it have to be a hard link, or a sym link? Thanks! Vincent
  24. Got it all taken care of in chat. Thanks so much Bill!
×
×
  • Create New...