jfranzone
Forum Replies Created
-
Forum: Plugins
In reply to: [Timber] Getting Hooks Back in Conjunction With TimberNo, it’s still not working. If you go to my website (http://www.franzone.com) you’ll see the second post down has a block of code that should be highlighted. That’s using {{post.content}}. If you click the title you’ll get the single page, which I changed to use {{function(‘the_content’)}}. That does perform the highlighting. I tried using the function call on the index page, but that just listed out the first post multiple times.
Forum: Fixing WordPress
In reply to: Codeigniter WordPressThat seems a bit silly. Why would you go through the trouble of installing WordPress and then… not use it.
Perhaps what erdemcam really wants is to build a website using CodeIgniter and then use WordPress for the blogging portion of the site? In this case I think you’d just be looking at installing WordPress to a /blog subdirectory and then telling CodeIgniter to ignore that path.
Forum: Fixing WordPress
In reply to: 500 Server Internal ErrorFor me the problem turned out to be an old version of PHP. My web host has version 4.4.9 installed by default. They also have 5.2.13, but you have to specify for your web apps to use it. I did this by opening up my .htaccess file and adding the following to the top:
AddType x-mapp-php5 .php
Save + close and reload… wp-admin works again!
Forum: Fixing WordPress
In reply to: posting via xmlrpc metaWeblog -> error in xmlrpc.phpI was having the same problem, but I patched the xmlrpc.php file to fix it. Go to the line number in xmlrpc.php that the error is indicating. You should see some code that looks similar to this (depending on your WordPress version):
// Do some timestamp voodoo $dateCreatedd = $content_struct['dateCreated']; if (!empty($dateCreatedd)) { $dateCreated = $dateCreatedd->getIso(); $post_date = get_date_from_gmt(iso8601_to_datetime($dateCreated)); $post_date_gmt = iso8601_to_datetime($dateCreated. "Z", GMT); } else { $post_date = current_time('mysql'); $post_date_gmt = current_time('mysql', 1); }Modify your source to look like the following:
// Do some timestamp voodoo $dateCreatedd = $content_struct['dateCreated']; if (!empty($dateCreatedd)) { $dateIXR = new IXR_Date($dateCreatedd); $dateCreated = $dateIXR->getIso(); $post_date = get_date_from_gmt(iso8601_to_datetime($dateCreated)); $post_date_gmt = iso8601_to_datetime($dateCreated. "Z", GMT); } else { $post_date = current_time('mysql'); $post_date_gmt = current_time('mysql', 1); }You see the problem lies in the fact that the original code is trying to call the
getIso()on a string, which is definitely not an IXR_Date class. So I just modified it to create the IXR_Date class before calling that method and it works fine.