Archive for February, 2010

Post Affiliate Pro 4 smtp relay settings

One of my clients is running PAP4 on a windows box with shared hosting from Go Daddy. For some reason, he is unable to use the PHP mail() function from within PAP4 despite his Joomla CMS working just fine with that setting in the Global Settings (Too bad PAP4 doesn’t just use the globals), so [...]

, ,

No Comments

Script to rotate website images based on Day of the Week

This little script is very handy for displaying a different picture or other content piece on your website based on the day of the week. <script> var d=new Date(); var weekday=new Array(7); weekday[0]=”<a href=’http://www.weburl.com/webpage#Sunday’><img src=’http://www.weburl.com/images/Sundayimg.jpg’ alt=” /></a>”; weekday[1]=”<a href=’http://www.weburl.com/webpage#Monday><img src=’http://www.weburl.com/images/Mondayimg.jpg’ alt=” /></a>”; weekday[2]=”<a href=’http://www.weburl.com/webpage#Tuesday><img src=’http://www.weburl.com/images/Tuesdayimg.jpg’ alt=” /></a>”; weekday[3]=”<a href=’http://www.weburl.com/webpage#Webnesday><img src=’http://www.weburl.com/images/Wednesdayimg.jpg’ alt=” /></a>”; weekday[4]=”<a href=’http://www.weburl.com/webpage#Thursday><img src=’http://www.weburl.com/images/Thursdayimg.jpg’ [...]

, ,

No Comments

How to view details about your server’s PHP capabilities

If you are not hosting your website yourself, you may not know what exactly is installed on the server your domain resides on. In order to find out some extended information about your PHP capabilities, simply create a text file and add this line to it: <?php phpinfo(); ?> Then save the file as test.php [...]

No Comments

Capitalize the first letter of a word in Microsoft Access 97

I am not a big fan of writing code…the stuff I struggled through at UCI more than cured me of any itch to be a code monkey.  However, by virtue of my many hats, as a DBA (Database Administrator) I sometimes have to write some Visual Basic in queries in order to correct information in records [...]

,

No Comments

Mask a Hosting Subdirectory in Joomla

I have one Hosting Account on Go Daddy and it has a bunch of folders under it for each domain that I have.  One of these folders contains a Joomla! installation. When I setup the Joomla! installation, it had this variable configured in Configuration.php: var $live_site = ‘http://hostingaccount.com/joomlafoldername’; I changed that to: var $live_site = [...]

No Comments

aiContactSafe SMTP error when doing test form entry

Just FYI. This may be a Joomla! thing, but I’ve noticed that when testing the aiContactSafe Form component, if you enter test@test.com into the email field, it will fail to send you the message.  The message is stored in the messages database however.

No Comments

aiContactSafe Profile CSS Doesn’t Take Effect

When creating a new Profile for aiContactSafe v.2.0.7.stable the CSS that is generated has a default Profile ID of 1. To update this, note the Profile ID of the form you wish to edit from the main Profile page, copy/paste the entire CSS box text into Notepad or a similar program and FIND/REPLACE “aiContactSafe_mainbody_1” occurences with [...]

No Comments

Removable Storage Server error in windows log

System has Backup Exec 12.5 and a Qualstar Tape library. Event ID 153: Did not match serial number “” provided by “Qualstar RLS-8236 Tape Library (Changer0)” among the list of drives. Solution is here

,

No Comments

Nortel MICS System Time Incorrect or Slow

Problem:  Every couple months, the system time displayed on the phones will be slow by a couple minutes.  As you can imagine, this can be very disconcerting to users who depend on that clock as a cue for when to leave the office. 1. I originally thought that the issue was related to system reboots…if [...]

,

No Comments