About arrow Support Forums Make Text BiggerMake Text SmallerReset Text Size
Export Content Support
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC: Re: Joomla says "Error"
#15
-prh (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Joomla says "Error" 1 Year, 10 Months ago Karma: 0  
Hi,

ten minutes ago I have downloaded and installed the new version "Beta 1.5".

Joomla tells me now:
"Warning: Invalid argument supplied for foreach() in /xxxxxx/joomla/administrator/components/com_export_content/ admin.export_content.html.php on line 150"

What is this? What can I do?

Best wishes from Hamburg,

-prh
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#16
Friedel (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re: Joomla says "Error" 1 Year, 10 Months ago Karma: 0  
I get a similar warning when clicking "Export Content" saying:
QUOTE:
Warning: Invalid argument supplied for foreach() in /.../html/administrator/components/com_export_content/ admin.export_content.html.php on line 3058


Any idea?

Regards,
Friedel
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#17
Steve (Admin)
Admin
Posts: 202
graph
User Offline Click here to see the profile of this user
Re: Joomla says "Error" 1 Year, 10 Months ago Karma: 3  
Hi guys

I have attached a patch that should fix the problem just unzip and upload/FTP it to:

/administrator/components/com_export_content/admin.export_content.html.php

And overwrite admin.export_content.html.php

http://www.bestdownloadsites.com/admin.export_content.html.zip
 
Report to moderator   Logged Logged  
 
Regards Steve.
  The administrator has disabled public write access.
#18
Friedel (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re: Joomla says "Error" 1 Year, 10 Months ago Karma: 0  
Thanks for the file.
The warning does not show up anymore.

But when clicking "Compile" I get a blank screen with just an error message saying:
QUOTE:
Error : PCLZIP_ERR_NO_ERROR (0) :


The ZIP file is created though.

Does that mean anything to you?!?

Regards,
Friedel
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#19
Steve (Admin)
Admin
Posts: 202
graph
User Offline Click here to see the profile of this user
Re: Joomla says "Error" 1 Year, 10 Months ago Karma: 3  
Hi Friedel
After pressing compile:
Does a "Download" button appear at the top?
Does a "Remove All" button appear at the top?
Are you still able to download the compiled data?

If so try using "Remove All" and refresh the page.

Also you could try compiling just one section to see how it goes.
 
Report to moderator   Logged Logged  
 
Regards Steve.
  The administrator has disabled public write access.
#20
Friedel (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re: Joomla says "Error" 1 Year, 10 Months ago Karma: 0  
After pressing "Compile" it takes a second and then I just see a total white page with just this error message (no Joomla backend view or anythng else):
QUOTE:
Error : PCLZIP_ERR_NO_ERROR (0) :


When clicking the "Back"-button of my browser I do indeed see a "Remove All" and a "Download" button, bute when clicking on "Remove All" again after a second I get the same error.
Refreshing does not change anything.

Clicking on "Download" shows the download page with the button to download the complied content. Downloading works fine then.

Im running PHP 5.1.2. Does this matter?!?

Regards,
Friedel
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#21
Steve (Admin)
Admin
Posts: 202
graph
User Offline Click here to see the profile of this user
Re: Joomla says "Error" 1 Year, 10 Months ago Karma: 3  
QUOTE:
After pressing "Compile" it takes a second and then I just see a total white page with just this error message (no Joomla backend view or anythng else):
Quote:
Error : PCLZIP_ERR_NO_ERROR (0) :


When clicking the "Back"-button of my browser I do indeed see a "Remove All" and a "Download" button, bute when clicking on "Remove All" again after a second I get the same error.
Refreshing does not change anything.

Clicking on "Download" shows the download page with the button to download the complied content. Downloading works fine then.


I have attached a patch that may fix the problem just unzip and upload/FTP it to:

/administrator/components/com_export_content/admin.export_content.php

And overwrite admin.export_content.php
http://www.bestdownloadsites.com/admin.export_content.zip


QUOTE:

Im running PHP 5.1.2. Does this matter?!?


It may be the problem.
It could also be a permission or ownership problem.
Check all files in :
/administrator/components/com_export_content/zip/...

If after all the above and you are still getting the error message go to line 486 of /administrator/components/com_export_content/admin.export_content.php where you will see this:

Code:

if ($v_list == 0) { die("Error : ".$archive->errorInfo(true)); }
Try editing this out and let me know what happens:
Code:

// if ($v_list == 0) { // die("Error : ".$archive->errorInfo(true)); // }
And thanks for the feedback
 
Report to moderator   Logged Logged  
 
Regards Steve.
  The administrator has disabled public write access.
#22
Friedel (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re: Joomla says "Error" 1 Year, 10 Months ago Karma: 0  
Great!
Your file did the job.
After uploading your last file everything seems to work very fine!

When having a bit more time I will try to import the content into a blank joomla installation, but so far it is a very well done job.

Should save a lot of time and extra work.

Thanks so far,
Friedel
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#23
Steve (Admin)
Admin
Posts: 202
graph
User Offline Click here to see the profile of this user
Re: Joomla says "Error" 1 Year, 10 Months ago Karma: 3  
QUOTE:
Great!
Your file did the job.
After uploading your last file everything seems to work very fine!


That's good news.

QUOTE:
When having a bit more time I will try to import the content into a blank joomla installation, but so far it is a very well done job.


If you have any problems let me know.
 
Report to moderator   Logged Logged  
 
Regards Steve.
  The administrator has disabled public write access.
#44
Steve (Admin)
Admin
Posts: 202
graph
User Offline Click here to see the profile of this user
Beta 1.6 released 1 Year, 10 Months ago Karma: 3  
Export content Beta 1.6 released:

New features since the last version include:

+ Improved support for import/export of non English content

+ Many bug fixes.

Download here: http://forge.joomla.org/sf/frs/do/viewSummary/ projects.com_export_content/frs
 
Report to moderator   Logged Logged  
 
Regards Steve.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop