[FX.php List] [OFF] Anyone fluent with setting up Wordpress?

Bob Patin bob at patin.com
Mon Jan 19 09:17:12 MST 2009


I'm trying to set up a blog on one of my web servers, and am having a  
problem that I can't resolve; hopefully someone on here has hit this  
snag and already solved it:

I have a blog running on this web server already; everything works  
great...

I tried downloading the latest version of WP (2.7.1) last night, put  
it in a new directory on my web server, which is Mac OS X Server Tiger  
(10.4.11), pointed a domain to it, tried hitting it. I get a parse  
error pointing to a page in the wp-admin/includes page, called  
media.php.

The error is (dir. name removed for security):

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or  
`T_NUM_STRING' in <directory name>/wp-admin/includes/media.php on line  
310

When I look at the PHP file, here's line 310 (granted, Dreamweaver is  
terrible about not displaying line numbers the same as what PHP  
*thinks* they are):

function addLoadEvent(func) {if ( typeof wpOnload!='function') 
{wpOnload=func;}else{ var oldonload=wpOnload;wpOnload=function() 
{oldonload();func();}}}

Someone will correct me if I'm wrong, but I seem to recall that the  
"T_STRING" error usually happens when I forget to put a $ in front of  
a variable... this is a Javascript function, so it doesn't require the  
dollar sign, but is there something actually wrong with this line, or  
am I looking at the wrong line?

Any help would be greatly appreciated... thanks,

Bob Patin
Longterm Solutions LLC
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
Twitter: bobpatin
iChat/AIM: bobpatin
FileMaker 9 Certified Developer
Member of FileMaker Business Alliance & TechNet
--------------------------
FileMaker hosting and consulting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090119/9c0e317d/attachment.html


More information about the FX.php_List mailing list