MarkMan
Members-
Posts
23 -
Joined
-
Last visited
MarkMan's Achievements
-
Security Question: Mysql->php->xml->flash
MarkMan replied to McCrockett's topic in Looking for......
Here's a pretty good discussion that helped me in the past to feel more secure in how I connect to a MySQL DB: http://www.totalchoicehosting.com/forums/i...?showtopic=2399 -
Has anyone who's been using the automysqlbackup.sh script run into a problem recently? It is now throwing an error for me after having run with no problem for almost 2 months on server 109. I even grabbed the script file from an old site backup (when it ran no problem) and it is now throwing the error below. Tech support says it's probably a syntax error in the script and referred me here. But the script hasn't been touched and now it's failing? Note that the same script is running fine, and has been for 6 months, on Server 5 (same MySQL version 4.1.13-standard) Any suggestions, maybe a server-side change of some sort? -thanks >/home/<username>/etc/automysqlbackup.sh: line 32: : command not found /home/<username>/etc/automysqlbackup.sh: line 35: : command not found /home/<username>/etc/automysqlbackup.sh: line 38: : command not found /home/<username>/etc/automysqlbackup.sh: line 41: : command not found /home/<username>/etc/automysqlbackup.sh: line 45: : command not found /home/<username>/etc/automysqlbackup.sh: line 49: : command not found /home/<username>/etc/automysqlbackup.sh: line 57: : command not found /home/<username>/etc/automysqlbackup.sh: line 60: : command not found /home/<username>/etc/automysqlbackup.sh: line 63: : command not found /home/<username>/etc/automysqlbackup.sh: line 64: : command not found /home/<username>/etc/automysqlbackup.sh: line 68: : command not found /home/<username>/etc/automysqlbackup.sh: line 71: : command not found /home/<username>/etc/automysqlbackup.sh: line 74: : command not found /home/<username>/etc/automysqlbackup.sh: line 77: : command not found /home/<username>/etc/automysqlbackup.sh: line 80: : command not found /home/<username>/etc/automysqlbackup.sh: line 83: : command not found /home/<username>/etc/automysqlbackup.sh: line 86: : command not found /home/<username>/etc/automysqlbackup.sh: line 89: : command not found /home/<username>/etc/automysqlbackup.sh: line 92: : command not found /home/<username>/etc/automysqlbackup.sh: line 307: date: command not found /home/<username>/etc/automysqlbackup.sh: line 308: date: command not found /home/<username>/etc/automysqlbackup.sh: line 309: date: command not found /home/<username>/etc/automysqlbackup.sh: line 310: date: command not found /home/<username>/etc/automysqlbackup.sh: line 311: date: command not found /home/<username>/etc/automysqlbackup.sh: line 312: date: command not found /home/<username>/etc/automysqlbackup.sh: line 314: date: command not found /home/<username>/etc/automysqlbackup.sh: line 317: : command not found /home/<username>/etc/automysqlbackup.sh: line 350: syntax error near unexpected token `{ ' /home/<username>/etc/automysqlbackup.sh: line 350: `dbdump () { '
-
The overflow worked perfect for the first problem (it was added to the stylesheet) A "clear: both" did the trick for IE this time.
-
Yikes, another late night and another <probably> simple problem . I'm having the exact opposite issue now: Firefox renders as expected (which is usually the case) and IE is wacko. If anyone wants to take a quick look, it'd be great. Site's still under dev example of problem The pic should have some text to the right and a div under it with text, not text wrapping around it. - many thanks
-
Excellent, it works now. Thanks Bruce!
-
Sure, here's a link -- but the site is under construction at this time so it looks a little rough right now. div example Even if the code snippets above are placed on a basic html page, then the problem will still occur. Strange thing is, I have other pages with nested divs and pictures but there are no problems -- so, yes, it's probably buggy code
-
Both the code snippets below work fine in IE 6, but the image and/or text bleeds out of the container div when viewed with Firefox 1.5. Any suggestions?? ...using align="left" on the image: ><div style=" text-align: left; margin: 0px 2% 0px .5%; padding: 15px 10px 15px 10px; width: 94%; border-top: 1px; border-right: 1px; border-bottom: 1px; border-left: 1px; border-style: solid; border-color: #000000; background-color: #d9dffd;"> <a id="ace"></a> <span style="font-family: chiller, comic sans ms; font-size: 30px; color:#003399; font-weight: bold;">Ace of the Month</span> <br /> <img src="images/ace_month_2006_03.jpg" alt="" border="0" width="225" height="300" align="left" /> sajkdf sfl;kjsa fsdfj sfs dfsadj d sd f fsd fdsfds fd d d sd; sd dkfjsad fsdf sdsd fsd sdsd sd fsd fsdf sdf sdf sdf ds f sd dfs fd sfd sd f sd sdf sdf sad f sda fsd f ew we fv ew f ve ge v e ve vgvaasdfs ds f sda fsad fsda fas f sdf sda fsad f sadf sad f dsaf </div> ... or putting the image and text in separate divs: ><div style=" text-align: left; margin: 0px 2% 0px .5%; padding: 15px 10px 15px 10px; width: 94%; border-top: 1px; border-right: 1px; border-bottom: 1px; border-left: 1px; border-style: solid; border-color: #000000; background-color: #d9dffd;"> <a id="ace"></a> <span style="font-family: chiller, comic sans ms; font-size: 30px; color:#003399; font-weight: bold;">Ace of the Month</span> <br /> <div style="float: left; width: 40%"> <img src="images/ace_month_2006_03.jpg" alt="" border="0" width="225" height="300" /> </div> <div style="float: left; width: 20%"> sajkdf sfl;kjsa fsdfj sfs dfsadj d sd f fsd fdsfds fd d d sd; sd dkfjsad fsdf sdsd fsd sdsd sd fsd fsdf sdf sdf sdf ds f sd dfs fd sfd sd f sd sdf sdf sad f sda fsd f ew we fv ew f ve ge v e ve vgvaasdfs ds f sda fsad fsda fas f sdf sda fsad f sadf sad f dsaf </div> </div>
-
Thank you, Thank you, Thank you! I had tried so many combos that I stopped using the CGI script and just used phpMyAdmin to perform the testing. I was trying to narrow down the problem but, anyway... it's working great now with the SQL command string you posted above. Thanks so much. You da man, TweezerMan.
-
Yep, all lowercase on the file name. I'm really stumped. Maybe something in the line needs to be escaped? I've tried so many things.
-
I'm having the same problem in a PERL CGI script. I thought for sure that this post would solve my problem but unfortunately, no. Will someone give me a pointer? It seems I'm very close to getting this to work. Right now I'm just trying to get the command to work in phpMyAdmin but keep getting an error. I've tried sooo many combinations with the command. Here's one of the commands I thought would work from within phpMyAdmin: >LOAD DATA LOCAL INFILE '/home/<username>/public_html/cgi-bin/formdata.txt' INTO TABLE registered FIELDS TERMINATED BY ';' LINES TERMINATED BY '\\r\\n' Here's the error: >#13 - File '/home/<username>/public_html/cgi-bin/formdata.txt' not found (Errcode: 13) I've also tried it with the .txt file in the root directory, not the cgi-bin. .txt Files have full access CHMOD 777
-
Please Help With Mysql Backup (run W/ Cron Job)
MarkMan replied to MarkMan's topic in Scripting Talk
I've found that running a batch file which FTPs the files from the webserver to my home computer is much easier. It can be automated to eliminate the need for user interaction and there's no need to fuss with email messages and attachments. I also have this setup for my site backup file. After FTPing it to my home computer it then deletes the file off the webserver to keep things clean. -
Never mind, i just searched the DB for the old version number and manually changed it to .18 This is probably taboo, but it seemed to do the trick .... at least for the UI Your installation is up to date, no updates are available for your version of phpBB.
-
Weird, does anyone know why this is appearing on the administration panel, or how to have it reflect the correct version? I installed a fresh version of phpBB 2.0.18, linked it to an empty db, then restored a backup db (which was from a 2.0.17 install). I hope I don't have to install .17, restore the db, then update phpBB to .18 Your installation does not seem to be up to date. Updates are available for your version of phpBB, please visit http://www.phpbb.com/downloads.php to obtain the latest version. The latest available version is phpBB 2.0.18. You are running phpBB 2.0.17.
-
That worked, thanks One thing I noticed is that the same directory name must be used for the newly created forum so that it matches the old forum directory name from which the db backup came.
-
Please Help With Mysql Backup (run W/ Cron Job)
MarkMan replied to MarkMan's topic in Scripting Talk
Sounds good, thanks for the info. I'll look into it.