PHP Classes

It doesn't work: Fatal error: Cannot access empty property in...

Recommend this page to a friend!

      SQL Export  >  All threads  >  It doesn't work: Fatal error: Cannot...  >  (Un) Subscribe thread alerts  
Subject:It doesn't work: Fatal error: Cannot...
Summary:Package rating comment
Messages:5
Author:Paul
Date:2008-11-14 13:30:04
Update:2010-07-13 13:05:05
 

Paul rated this package as follows:

Utility: Bad
Consistency: Good
Documentation: Sufficient
Examples: Sufficient

  1. It doesn't work: Fatal error: Cannot...   Reply   Report abuse  
Picture of Paul Paul - 2008-11-14 13:30:04
It doesn't work:
Fatal error: Cannot access empty property in C:\Program Files\VertrigoServ\www\test\mysql_imp_exp\export\SQL_Export.php on line 47

  2. Re: It doesn't work: Fatal error: Cannot...   Reply   Report abuse  
Picture of carlos barrantes carlos barrantes - 2008-11-24 21:43:03 - In reply to message 1 from Paul
I have the same problem...

  3. Re: It doesn't work: Fatal error: Cannot...   Reply   Report abuse  
Picture of juan pablo juan pablo - 2009-01-10 21:39:58 - In reply to message 2 from carlos barrantes
Hi, I just download this class, and have the same problem, but as it says somewhere else you should change ""->$exported that need to be changed to ->exported."" it is in line 47 and 50, then the code is working well. now I need to know how can we save into a sql file. thanks to all

  4. Re: It doesn't work: Fatal error: Cannot...   Reply   Report abuse  
Picture of Thomas Thomas - 2009-05-16 01:16:52 - In reply to message 3 from juan pablo
Hi all,
This script needs updating as it turns all my Varchar fields into String fields. The output from phpmyadmin differs from the output in this script.

I cannot import using phpmyadmin or bigdump.php

Any updates coming soon?

Asimov

  5. Re: It doesn't work: Fatal error: Cannot...   Reply   Report abuse  
Picture of Julián Aristizábal González Julián Aristizábal González - 2010-07-13 13:05:05 - In reply to message 3 from juan pablo
HI JP, you can add this lines:

$arREG = @fopen("sqlExport_".date("YmdHis").".sql", "w");
@fwrite($arREG, $res);
@fclose($arREG);