TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 01-04-2010, 04:05 PM   #1 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Posts: 1,044
Thanks: 193
Orc is on a distinguished road
Confused Kohana + Wordpress without "Wordpress for Kohana" plugin

I need to get a Kohana project going but the wordpress part is delaying the project, and I need to know how to successfully implement a wordpress copy onto kohana, as a helper or module, without the use of the "Wordpress for Kohana" plugin.

If I directly add the blog header it gives me this error:
Code:
Fatal error: Call to undefined method stdClass::set_prefix() in wp/wp-settings.php on line 268
And stdClass isn't the actual assigned class when not implementing this in the Controller nor the View file.

__________________
VillageIdiot can have my babbies ;d
Orc is offline  
Reply With Quote
Old 01-04-2010, 06:39 PM   #2 (permalink)
The Wanderer
Newcomer 
 
Parvus's Avatar
 
Join Date: Aug 2008
Posts: 21
Thanks: 1
Parvus is on a distinguished road
Default

First question: Why couldn't you use the plugin ?
Second: Did you try to find out what 'wp/wp-settings.php on line 268' says and why it is a undefined method ?
Parvus is offline  
Reply With Quote
Old 01-04-2010, 06:59 PM   #3 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

I'd have to ask the same question - the plugin is made by the Kohana developers, so I'd feel pretty confident in the fact that it's probably the most suitable solution you will find.

You may have reasons we're unaware of though. The correct way to integrate Wordpress within another application is to call wp-load.php, not wp-blog-header.php - start there and see if you're having a similar issue.
delayedinsanity is offline  
Reply With Quote
Old 06-28-2010, 02:09 PM   #4 (permalink)
The Visitor
 
Join Date: Jun 2010
Posts: 1
Thanks: 0
Tails is on a distinguished road
Default

See here: http://forum.kohanaframework.org/com...&page=1#Item_0
Tails is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Wordpress plugin for developers Enfernikus Script Giveaway 1 10-30-2008 08:51 PM


All times are GMT. The time now is 07:43 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design