You are not logged in.
Pages: 1
I cannot seem to be able to change the default link to the images. what can I do?
Offline
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
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
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
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
I still get the error even after making the change from .js to .php.
Offline
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
Thank you ray ill try to see if that works!
Offline
I now works thank you both of you.
Offline
Pages: 1