pokara93 | 2 Nov 2004 12:51

ok, i just undertand the problem


ok, so the trouble is that php knows this format in "strftime" 
function but database don't works with it. Ok, i didn´t understand 
why it is happend. it's not problem to convert the string of database 
query in valid format to my aplication.
thanks
pokara

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Miguel Angel Laguna | 8 Nov 2004 18:52
Picon

Problem with new release


Hello all:

I´ve just download the last release and installed. When I try to
compile a project I always get "Building generatecomponent.files ..."
in the "compiler output" and nothing else happens, of course no files
are created.

I althougth tried with cms project and the result was the same.

Thansk in advance.

--

-- 
Miguel A. Laguna

"La vida es aquello que sucede, mientras intentas cumplir tus espectativas"

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Manuel Lemos | 8 Nov 2004 22:17

Re: Problem with new release


Hello,

On 11/08/2004 03:52 PM, Miguel Angel Laguna wrote:
> I´ve just download the last release and installed. When I try to
> compile a project I always get "Building generatecomponent.files ..."
> in the "compiler output" and nothing else happens, of course no files
> are created.
> 
> I althougth tried with cms project and the result was the same.

It seems that you probably exceeded the PHP configured memory but since 
the error messages are probably being suppresed you are not noticing them.

Assumming that is the problem, the solution is explained in the 
troubleshooting guide, but it consists basically in increasing the 
memory_limit setting in your php.ini file.

http://www.meta-language.net/metastorage-troubleshooting.html

--

-- 

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)

Miguel Angel Laguna | 8 Nov 2004 23:12
Picon

Re: Problem with new release


Thanks a lot.

You were right, I change to apache2 some weeks ago, but I forgot to
change the 'memory_limit' directive. I did such thing when I install
metastorage the first time, but this time ...  :-o

Regards.

On Mon, 08 Nov 2004 19:17:33 -0200, Manuel Lemos <mlemos <at> phpclasses.org> wrote:
> 
> Hello,
> 
> On 11/08/2004 03:52 PM, Miguel Angel Laguna wrote:
> > I´ve just download the last release and installed. When I try to
> > compile a project I always get "Building generatecomponent.files ..."
> > in the "compiler output" and nothing else happens, of course no files
> > are created.
> >
> > I althougth tried with cms project and the result was the same.
> 
> It seems that you probably exceeded the PHP configured memory but since
> the error messages are probably being suppresed you are not noticing them.
> 
> Assumming that is the problem, the solution is explained in the
> troubleshooting guide, but it consists basically in increasing the
> memory_limit setting in your php.ini file.
> 
> http://www.meta-language.net/metastorage-troubleshooting.html
> 
(Continue reading)

migalagu | 17 Nov 2004 21:14
Picon
Picon
Favicon

Problems with IIS


Hello all:

Recently I moved an application developed with metastorage from a LAMP
to a Windows + IIS + PHP + MySQL, and all seems to be work all right
except the compilation of the model.

I got the next error:

Error: could not create the XML cache file directory
"C:\Inetpub\wwwroot\chcrui\Interfaz\front_end\trabajo\Actual\metal\metastorage/work/cache/C/Inetpub/wwwroot/chcrui/Interfaz/front_end/trabajo/Actual/metal/metal/include"

File:
C:\Inetpub\wwwroot\chcrui\Interfaz\front_end\trabajo\Actual\metal\metastorage/work/cache/C/Inetpub/wwwroot/chcrui/Interfaz/front_end/trabajo/Actual/metal/metal/include/php.bindings.cache

Line: 0 
Column: 0 
Byte: 0 

I configured PHP with more than 8mb, I reviewed that directories of
metal, metastorage and projects has enough privilegs and I tried to
compile cms example project, but i got the same error once and again.

I search the whole mails of the list for something similar and read
the FAQS but I did not found something similar.

The problem is that I have never been working with IIS, so any Ideas?

Thanks in advance.

(Continue reading)

Manuel Lemos | 17 Nov 2004 21:30

Re: Problems with IIS


Hello,

On 11/17/2004 06:14 PM, migalagu wrote:
> The problem is that I have never been working with IIS, so any Ideas?

You are probably running PHP in safe mode. That would prevent the 
creation of files on disk. In that case, you would need to disable safe 
mode. Just let me know if that is not the case.

-- 

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/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

(Continue reading)

Manuel Lemos | 21 Nov 2004 04:01

Re: ERROR ON INSTALL CMS


Hello,

On 11/20/2004 06:13 PM, Jorge Paván wrote:
> Hello!. I want to begin to test the cms component and, after I compile 
> it, and want to run "metal\metastorage\install\setup\install.php" and I 
> obtain the error: "Error: Could not install database: the database was 
> only partially created: Valor por defecto invalido para 'sequence' ".
> I can see the error is in metabase_manager.php, line 345
> Could you help me please?

That sounds like you are using MySQL 4.1 that has a backwards 
compatibility problem of not allowing the setting of default values of 
auto-increment fields.

That problem was solved almost 2 months ago, but since I have not made a 
public release of neither Metastorage or Metabase, the fix is only 
available in the CVS version. You may download CVS snapshots from here 
and hopefully the problem will be solved:

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

--

-- 

Regards,
Manuel Lemos

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

(Continue reading)

Miguel Angel | 21 Nov 2004 16:12
Picon
Picon
Favicon

Re: Problems with IIS


Hello all:

Sorry by the late, but server machine is far from me.
I reviewed safe-mode directive and it is not active

;
; Safe Mode
;
safe_mode = Off

Regards.

 --- Manuel Lemos <mlemos <at> phpclasses.org> escribió: 

---------------------------------
Hello,

On 11/17/2004 06:14 PM, migalagu wrote:
> The problem is that I have never been working with
IIS, so any Ideas?

You are probably running PHP in safe mode. That would
prevent the 
creation of files on disk. In that case, you would
need to disable safe 
mode. Just let me know if that is not the case.

--

-- 

(Continue reading)

Jorge Paván | 21 Nov 2004 15:26
Picon

Re: Re: ERROR ON INSTALL CMS


Yes, I use MySQL 4.1.7 and the problem had been resolved. 

Thanks a lot Manuel!
  ----- Original Message ----- 
  From: Manuel Lemos 
  To: metal-dev 
  Cc: metabase-dev 
  Sent: Sunday, November 21, 2004 12:01 AM
  Subject: [metal-dev] Re: ERROR ON INSTALL CMS

  Hello,

  On 11/20/2004 06:13 PM, Jorge Paván wrote:
  > Hello!. I want to begin to test the cms component and, after I compile 
  > it, and want to run "metal\metastorage\install\setup\install.php" and I 
  > obtain the error: "Error: Could not install database: the database was 
  > only partially created: Valor por defecto invalido para 'sequence' ".
  > I can see the error is in metabase_manager.php, line 345
  > Could you help me please?

  That sounds like you are using MySQL 4.1 that has a backwards 
  compatibility problem of not allowing the setting of default values of 
  auto-increment fields.

  That problem was solved almost 2 months ago, but since I have not made a 
  public release of neither Metastorage or Metabase, the fix is only 
  available in the CVS version. You may download CVS snapshots from here 
  and hopefully the problem will be solved:

(Continue reading)

Manuel Lemos | 22 Nov 2004 04:48

Re: Problems with IIS


Hello,

On 11/21/2004 01:12 PM, Miguel Angel wrote:
> Sorry by the late, but server machine is far from me.
> I reviewed safe-mode directive and it is not active
> 
> ;
> ; Safe Mode
> ;
> safe_mode = Off

Maybe you are not looking at the real location of the php.ini file.

The safest way to check whether you are really using safe mode is to run 
a PHP script with the phpinfo(); function call.

Anyway, assuming that you are really not in safe mode, this needs 
further investigation so determine why the directory is not being 
created successfully.

Therefore, I need you to go in the file metal/metal_compiler.php in 
function CreateOutputDirectory near line 140 and remove the  <at>  characters 
that preceed calls to is_dir and mkdir functions and let me know what 
error messages are displayed when you run Metastorage again.

Doing so prevents that PHP silence additional error messages that are 
usually outputted to explain why the command failed.

Make sure that php.ini has the option display_errors = On to let PHP 
(Continue reading)


Gmane