Manuel Lemos | 7 Dec 18:29 2004

Re: Error - Cannot use object of type read_arguments_class as array


Hello,

On 12/07/2004 10:52 AM, dlgrinberg wrote:
> I just downloaded metastorage, and all of its requirements.  I am sure
> that I have installed it all correctly.  However, when I try to
> compile the test project 'cms', I get the following error:
> 
> Fatal error:  
> Cannot use object of type read_arguments_class as array in
> ~dir~\metal\metastorage\applications\metastorage\metastorage.php
> on line 352

That is due to a bug that was fixed last month. Since I have not yet 
made a public release, you need to use the latest version from CVS that 
you can download from here:

http://www.meta-language.net/download.html#cvs

--

-- 

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

(Continue reading)

dlgrinberg | 7 Dec 13:52 2004
Picon

Error - Cannot use object of type read_arguments_class as array


Hi,

I just downloaded metastorage, and all of its requirements.  I am sure
that I have installed it all correctly.  However, when I try to
compile the test project 'cms', I get the following error:

Fatal error:  
Cannot use object of type read_arguments_class as array in
~dir~\metal\metastorage\applications\metastorage\metastorage.php
on line 352

What am I doing wrong??

I am trying to run it on:
XP Pro SP2
IIS 5.1
PHP 5.02

Do I have to change a setting??

Thanks
David Grinberg

------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
(Continue reading)

Manuel Lemos | 17 Dec 19:10 2004

Re: I need at least one example!!! :-D


on 12/17/2004 03:19 PM gprog51 said the following:
> 
>>>I would really apreciate a simple example php script to do this.
>>>I have generated the cms example, but I need an example of how 
> to use 
>>>the createarticleform.php generated script. I want a script that 
> shows 
>>>the form on the browser so I could add some articles to de 
> Database.
> 
>>I am working on a tutorial that gives working examples for this.
>>Meanwhile, if you download the original Metastorage from the 
> download 
>>page (not from CVS), inside metastorage/install/web there are a 
> few 
>>scripts that I used to generate the example screenshots.
>>The createauthor.php script just creates an author object with 
> some 
>>predefined values. You need to run this first.
>>The submitarticle.php script is the script that will call the 
> generated 
>>form class. Currently I predefined some global variables to fill 
> the 
>>form values and generate the HTML file submitarticle.html. You may 
> want 
>>to remove the first lines that define the form values to run this 
> is a 
>>real Web page script.
> 
(Continue reading)

Alejandro Vartabedian | 17 Dec 21:45 2004
Picon

Re: Re: I need at least one example!!! :-D


gprog51,
	i had similar conceptual problems in the begining, so i started from scratch by
trying to understand metastorage philosophy and unsing metabase too.

	i'll send you an example i made of the usage of createarticleform.php
	i hope it helps.

require('metabase/metabase_manager.php');
require('metabase/metabase_interface.php');
require('metabase/metabase_database.php');

require('forms/forms.php');
require('cms.php');

$action = $_GET['action'];

$factory =& new cmsclass();
$global_options=array(
	"database_connection"=>"mysql://x:x <at> localhost/cms",
	"database_name"=>"cms",
	"debug"=>0
);
$factory->connection=$GLOBALS["global_options"]["database_connection"];
$factory->includepath='metabase';
if ( $factory->initialize() ) {
     switch ($action) {
         case 'newarticle':
             require('article.php');
             require('createarticleform.php');
(Continue reading)

yietno | 20 Dec 12:46 2004
Picon

installation


Hallo, 

i just found this project from search engine. i try to install in
WIndows XP. Directory structure like this:
meta\
meta\metaL\*
meta\metastorage\*.*

is this wrong? because after i klik (Indonesian language :D) welcome
page, the link got error. page not found.

I really need this metaL for my project (in my dream :D). 
aniway, i did not find the definition of "meta" in Indonesian
Language. So please, be kind to explain that mean to me :D).

Yitno
The King of the jobless

------------------------ Yahoo! Groups Sponsor --------------------~--> 
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Manuel Lemos | 20 Dec 17:00 2004

Re: installation


Hello,

on 12/20/2004 09:46 AM yietno said the following:
> i just found this project from search engine. i try to install in
> WIndows XP. Directory structure like this:
> meta\
> meta\metaL\*
> meta\metastorage\*.*
> 
> is this wrong? because after i klik (Indonesian language :D) welcome
> page, the link got error. page not found.

Did you follow these instructions?

http://www.meta-language.net/metastorage-tutorial.html#install

After you do this you should have a directory structure like this:

DRIVE:\path\to\metal\metal
DRIVE:\path\to\metal\metastorage
DRIVE:\path\to\metal\xmlparser
DRIVE:\path\to\metal\metabase
DRIVE:\path\to\metal\readarguments
DRIVE:\path\to\metal\forms

Also make sure you grant permissions to your Web server user to serve 
PHP script pages from here

DRIVE:\path\to\metal\metastorage\applications\webstorage\web\
(Continue reading)

Manuel Lemos | 20 Dec 23:54 2004

Metastorage based forums system


Hello,

This is just a note regarding the new forums system that has a data 
storage access that was completely developed using Metastorage.

You may look here for the main support forums page that lists the latest 
class support forum threads.

http://www.phpclasses.org/discuss

Each of the classes published in the site has its own forum that is 
actually created only when the first post in that forum is made, thus 
saving a lot of database space. The page of the forum for each class may 
be found using a link in the respective class page that says "Support 
forum".

Despite I will continue to develop further its capabilities, personally 
I am very happy with it, not only because the use of Metastorage 
significantly reduced its development time, but also because it provided 
me the opportunity to develop new Metastorage capabilities that have 
been requested by other developers.

This means that soon everybody will be able to benefit from the new 
capabilities. It is a matter of making time to document. Meanwhile let 
me just highlight the most important.

- Report data retrieval classes

For certain purposes, like for instance presenting data in the form of 
(Continue reading)


Gmane