Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-12-18 17:05:51

hobbes2006
Xinha Community Member
Registered: 2006-12-18
Posts: 12

Help Image Manager

I cannot seem to be able to change the default link to the images. what can I do?

Offline

#2 2006-12-18 17:10:43

hobbes2006
Xinha Community Member
Registered: 2006-12-18
Posts: 12

Re: Help Image Manager

I also get this error. when i try to go to the image manager.

Fatal error: Call to undefined function: xinha_read_passed_data() in /var/www/winfieldaged/frontpageeditor/xinha/plugins/ImageManager/config.inc.php on line 287

Last edited by hobbes2006 (2006-12-18 17:50:30)

Offline

#3 2006-12-18 18:29:49

koto
Xinha Pro
Registered: 2006-01-09
Posts: 58

Re: Help Image Manager

xinha_read_passed_data() is defined in contrib/php-xinha.php file. You must have upgraded Xinha lately, but kept old config.inc.php for ImageManager plugin. Look at the plugins/ImageManager/config.inc.php file - there should be a line near the end reading:

require_once(realpath(dirname(__FILE__) . '/../../contrib/php-xinha.php'));

This file should also be included in "javascript" file that configures xinha (I quoted "javascript" because it should have .php extension) - look at plugins/ImageManager/image-manager.js for the instructions. You could also look at similar instructions in plugins/ExtendedFileManager/readme.txt

Cheers,
koto

Offline

#4 2006-12-18 20:56:38

hobbes2006
Xinha Community Member
Registered: 2006-12-18
Posts: 12

Re: Help Image Manager

I have looked and it is in the config.inc.php.  and the line you said is there but i could not find that code in the  "javascript" file.

Offline

#5 2006-12-19 16:41:20

koto
Xinha Pro
Registered: 2006-01-09
Posts: 58

Re: Help Image Manager

Please look at the documentation for the plugin located here http://xinha.python-hosting.com/wiki/ImageManager.

The xinha_init file referenced there should have .php extension instead of .js extension. You should include in in your HTML page like this:

<script type="text/javascript" src="/xinha/my_config.php"></script>

Cheers,
koto

Offline

#6 2007-01-03 20:46:09

hobbes2006
Xinha Community Member
Registered: 2006-12-18
Posts: 12

Re: Help Image Manager

I still get the error even after making the change from .js to .php.

Offline

#7 2007-01-04 08:09:28

ray
Xinha Administrator
From: Germany
Registered: 2005-03-23
Posts: 521
Website

Re: Help Image Manager

If the line

require_once(realpath(dirname(__FILE__) . '/../../contrib/php-xinha.php'));

is in plugins/ImageManager/config.inc.php it seems the file is found otherwise you would get an error message saying something like

Fatal error: main(): Failed opening required '' (include_path='.;c:\apachefriends\xampp\xampp\php\pear\') in C:\apachefriends\xampp\xampp\htdocs\xinha\plugins\ImageManager\config.inc.php on line 286

but if xinha_read_passed_data() nevertheless is undefined this can only mean that you have to update contrib/php-xinha.php

Offline

#8 2007-01-22 01:40:34

hobbes2006
Xinha Community Member
Registered: 2006-12-18
Posts: 12

Re: Help Image Manager

Thank you ray ill try to see if that works!

Offline

#9 2007-01-23 21:21:10

hobbes2006
Xinha Community Member
Registered: 2006-12-18
Posts: 12

Re: Help Image Manager

I now works thank you both of you.

Offline

Board footer

Powered by FluxBB