About arrow Support Forums Make Text BiggerMake Text SmallerReset Text Size
Export Content Support
Welcome, Guest
Please Login or Register.    Lost Password?
Error in \convert_img.php on line 2515 (solved) (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Error in \convert_img.php on line 2515 (solved)
#1106
bergjes (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Error in convert_img.php on line 2515 (solved) 8 Months, 1 Week ago Karma: 0  
Hi,

I don't know if this is a "bug", but I'm posting it anyway.

Export of the data works great.

Importing works as well until I try to save the imported data.
When I try to save the data I get the following error?
(The same error I get Importing "Categories".)

Fatal error: Call to undefined function: iconv() in W:\www\test\administrator\components\com_export_content\ convert_img.php on line 2515

Probably I'm doing something wrong, can You please help me?

Thnx.
Erik

Never mind.

I found the solution myself.
I am testing on a JSAS-server, and there it doesn't work. Probably some setting in PHP.
I tested it on a wamp 2.0 server and that works like a charme!!!! Super Component, thanks!!!!!!!!!!!!!!!!!
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/02/07 16:05 By bergjes.
  The administrator has disabled public write access.
#1107
Steve (Admin)
Admin
Posts: 195
graph
User Offline Click here to see the profile of this user
Re:Error in convert_img.php on line 2515 (solved) 8 Months, 1 Week ago Karma: 3  
Welcome Erik.

Glad you worked it out.

For anyone else that runs into this error it is because the server you are on does not have the "iconv library" enabled so if you are on a shared server ask you host to set it up.

The iconv program converts text from one encoding to another encoding and is needed to move data over to Joomla 1.5+.
 
Report to moderator   Logged Logged  
 
Regards Steve.
  The administrator has disabled public write access.
#1186
Dumas000 (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Error in convert_img.php on line 2515 (solved) 6 Months, 3 Weeks ago Karma: 0  
Hello admin,

What if you are on a shared hosting provider such as godaddy and they wont in tall software is their a work around to error 2515?

Dumas
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1188
Steve (Admin)
Admin
Posts: 195
graph
User Offline Click here to see the profile of this user
Re:Error in convert_img.php on line 2515 (solved) 6 Months, 2 Weeks ago Karma: 3  
It depends on whether you are moving over to Joomla 1.5+ series or not.
If you are just moving content between two Joomla 1.0+ series sites you might be able to use the old 1.6 version of export content.

Or ask your host to install iconv either that or change your hosting to someone that has the iconv lib installed.

If you know any PHP you may be able to come up with a work around by editing:
/administrator/component/com_export_content/convert_img.php which is where iconv is referenced.
 
Report to moderator   Logged Logged  
 
Regards Steve.
  The administrator has disabled public write access.
#1279
nicte (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Error in convert_img.php on line 2515 (solved) 3 Months, 3 Weeks ago Karma: 0  
I host my own server but am only moderately tech savvy and don't know much php. I went to the GNU site to get iconv and install it, but there instructions for installing might as well be written in an alien cypher for all that I can make sense of them.

http://www.gnu.org/software/libiconv/

QUOTE:

Installation
As usual for GNU packages:

$ ./configure --prefix=/usr/local
$ make
$ make install

After installing GNU libiconv for the first time, it is recommended to recompile and reinstall GNU gettext, so that it can take advantage of libiconv.

On systems other than GNU/Linux, the iconv program will be internationalized only if GNU gettext has been built and installed before GNU libiconv. This means that the first time GNU libiconv is installed, we have a circular dependency between the GNU libiconv and GNU gettext packages, which can be resolved by building and installing either

* first libiconv, then gettext, then libiconv again,

or (on systems supporting shared libraries, excluding AIX)

* first gettext, then libiconv, then gettext again.

Recall that before building a package for the second time, you need to erase the traces of the first build by running "make distclean".

This library can be built and installed in two variants:

* The library mode. This works on all systems, and uses a library libiconv.so and a header file <iconv.h>. (Both are installed through "make install".)

To use it, simply #include <iconv.h> and use the functions.

To use it in an autoconfiguring package:
o If you don't use automake, append m4/iconv.m4 to your aclocal.m4 file.
o If you do use automake, add m4/iconv.m4 to your m4 macro repository.
o Add to the link command line of libraries and executables that use the functions the placeholder @LIBICONV@ (or, if using libtool for the link, @LTLIBICONV@). If you use automake, the right place for these additions are the *_LDADD variables.
Note that iconv.m4 is also part of the GNU gettext package, which installs it in /usr/local/share/aclocal/iconv.m4.

* The libc plug/override mode. This works on GNU/Linux, Solaris and OSF/1 systems only. It is a way to get good iconv support without having glibc-2.1. It installs a library preloadable_libiconv.so. This library can be used with LD_PRELOAD, to override the iconv* functions present in the C library.
o On GNU/Linux and Solaris:

$ export LD_PRELOAD=/usr/local/lib/preloadable_libiconv.so

o On OSF/1:

$ export _RLD_LIST=/usr/local/lib/preloadable_libiconv.so:DEFAULT

A program's source need not be modified, the program need not even be recompiled. Just set the LD_PRELOAD environment variable, that's it!


Could you please help me with some dumbed down instructions that can tell me exactly what to do to install the library?

Thank you!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1280
Steve (Admin)
Admin
Posts: 195
graph
User Offline Click here to see the profile of this user
Re:Error in convert_img.php on line 2515 (solved) 3 Months, 3 Weeks ago Karma: 3  
I think you will find that iconv is included in the base php5 package but I'm not sure if it is enabled by default.

So if you don't have php5 setup already it would be a good idea to upgrade if you intend on running Joomla 1.5+ on your server.

See here for Joomla Minimum System Requirements: http://help.joomla.org/content/view/1938/302/

Please post back with your results as others might find the information helpful.
 
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