Search found 25 matches

by Rupo
Sun Oct 28, 2007 7:02 am
Forum: PHP - Code
Topic: Strict Standards: Creating default object from empty value
Replies: 2
Views: 4552

Strict Standards: Creating default object from empty value

Hi, what's going wrong in my liitle test script and how can i fix it Strict Standards: Creating default object from empty value in E:\xampp\htdocs\test.php on line 23 object(stdClass)#2 (1) { ["text"]=> string(17) "Neue news anlegen" } class LeftMenues { public $_mnuPageObject; p...
by Rupo
Mon Oct 22, 2007 6:47 pm
Forum: Installation and Configuration
Topic: Compile
Replies: 4
Views: 1203

Thanks,
I'm trying since hours with no result
... and google isn't useful by the way

Regards
Mic
by Rupo
Mon Oct 22, 2007 6:42 pm
Forum: Installation and Configuration
Topic: Compile
Replies: 4
Views: 1203

I ve the Visual c# studio, but I've no idea how to work on ....
by Rupo
Mon Oct 22, 2007 4:06 pm
Forum: Installation and Configuration
Topic: Compile
Replies: 4
Views: 1203

Compile

So another problem has occured. I've to compile mwearch.

Code: Select all

cd mwsearch
make
make install
How can I do this on a windows system????

Regards
Rupo
by Rupo
Mon Oct 22, 2007 11:07 am
Forum: Installation and Configuration
Topic: Lucene Integration [mediawiki]
Replies: 0
Views: 803

Lucene Integration [mediawiki]

Hi@All, I'm trying to implement lucene search to my mediawiki. The wiki ist used as a intranet solution on a windows system. As windows doesn't support hard and softlinks it's recommanded to use the c# daemon. http://meta.wikimedia.org/wiki/Installing_lucene_search But I've no idea what to do to get...
by Rupo
Wed Aug 22, 2007 2:31 am
Forum: PHP - Code
Topic: multiple inheritance
Replies: 1
Views: 359

multiple inheritance

Hallo, AFAIK php does not support multiple inheritance. I've to add plugin to a wikimedia system, which impelments a gui-based Wizard. The wizard contains a abstract class wizardBase and f.i. a extented class addNewsWizard. To implement this in a wikisystem as a specialpage the addNewsWizard class i...
by Rupo
Fri Jul 20, 2007 5:36 pm
Forum: PHP - Code
Topic: UI - WizardClass and PageObjects
Replies: 4
Views: 5673

astions wrote:I think he wants to know how to build and interact with pageobjects.
that' wright ... some hints?
by Rupo
Fri Jul 20, 2007 5:13 pm
Forum: PHP - Code
Topic: UI - WizardClass and PageObjects
Replies: 4
Views: 5673

Well, creating a wizardBaseClass, which allows to create several wizards. Which means creating UI-guided steps, to do some jobs, for instance to add new news to a wiki system (4-steps: selTitle|selCat|selPattern|saveText) Therefore its the job to create pageobjects of each step. But I've at the mome...
by Rupo
Fri Jul 20, 2007 4:19 am
Forum: PHP - Code
Topic: UI - WizardClass and PageObjects
Replies: 4
Views: 5673

UI - WizardClass and PageObjects

Hi, at the moment I'm working hard on a wizardClass, which should task easy creating wizard. Accordingly, a pageobject should arrange the pages width methods: iscurrent | show | is valid abstract class wizardBase { protected $pages = array(); protected $currentpage; protected $numpages; protected $_...
by Rupo
Wed Jul 18, 2007 4:58 pm
Forum: PHP - Theory and Design
Topic: Creating a UI-wizard
Replies: 1
Views: 817

Creating a UI-wizard

Hi, at the moment I'm working on a UI-wizard, in this case to integrate a newnewsWizard to a wikisystem. Therefore I#ve created two classes: abstract class wizardBase { public $pages = array(); private $currentpage; private $numpages; public function __construct() { if (isset($_SESSION['wizard'])) $...
by Rupo
Fri Jul 06, 2007 12:46 pm
Forum: Databases
Topic: Wrting umlauts to a database
Replies: 10
Views: 1343

Thanks ... I've already looked at this earlier. Now I#ve added something $db=mysql_connect(host, user, pass); mysql_select_db(name, $db) or die(mysql_error()); $sql = "SET NAMES utf8"; mysql_query($sql,$db); $query = "insert into comments (com_writer) Values ('ööö')"; $result = m...
by Rupo
Fri Jul 06, 2007 12:29 pm
Forum: Databases
Topic: Wrting umlauts to a database
Replies: 10
Views: 1343

6 : 'öüö'
6 : 'öüö'
by Rupo
Fri Jul 06, 2007 12:24 pm
Forum: Databases
Topic: Wrting umlauts to a database
Replies: 10
Views: 1343

so whats going wrong????
by Rupo
Fri Jul 06, 2007 12:19 pm
Forum: Databases
Topic: Wrting umlauts to a database
Replies: 10
Views: 1343

well there's a final question: the umlauts are still saved in the db like 'öüö' if sening utf-8. Is this wright: by using the sniplet header('Content-type: text/html; charset=utf-8'); $db=mysql_connect(host, user, pass); mysql_select_db(name, $db) or die(mysql_error()); $str='öüö'; $sql="Ins...
by Rupo
Fri Jul 06, 2007 10:35 am
Forum: Databases
Topic: Wrting umlauts to a database
Replies: 10
Views: 1343

On a side note, it's inadvisable to use constants to define your database log in credentials. Why? Because you can't destroy them. If someone is able to inject some code into yours it's very simple to find out that information. sure, but's only a script to test the waters! Normely, I put them in pr...