Announcement

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

#1 2007-08-09 20:50:04

hilope
Xinha Community Member
Registered: 2006-06-06
Posts: 26
Website

passed EFM config not recognized

Hi,

i integrated Xinha in postnuke cms (i wrote a module which integrates xinha for different content modules) . Everything works fine but now i tried the EFM config as described in files/forum in order to set folders dynamically - what is totally ignored from EFM.

Generated page source on my local test system (xampp) is the following (only EFM part, xinha is working fine at least) when trying to use folder /files in my root:

xinha_config.ExtendedFileManager.use_linker = true;
      if (xinha_config.ExtendedFileManager) {
                 with (xinha_config.ExtendedFileManager)
              {
              backend_data = {
'backend_data[data]': 'a:14:\x7Bs:10:\x22images_dir\x22;s:36:\x22C:/Programme/xampp/htdocs/pn/files/\x22;s:10:\x22images_url\x22;s:6:\x22files/\x22;s:9:\x22files_dir\x22;s:36:\x22C:/Programme/xampp/htdocs/pn/files/\x22;s:9:\x22files_url\x22;s:6:\x22files/\x22;s:16:\x22thumbnail_prefix\x22;s:2:\x22t_\x22;s:13:\x22thumbnail_dir\x22;s:1:\x22t\x22;s:14:\x22resized_prefix\x22;s:8:\x22resized_\x22;s:11:\x22resized_dir\x22;s:0:\x22\x22;s:10:\x22tmp_prefix\x22;s:4:\x22_tmp\x22;s:21:\x22max_filesize_kb_image\x22;i:2000;s:20:\x22max_filesize_kb_link\x22;i:5000;s:17:\x22max_foldersize_mb\x22;i:0;s:24:\x22allowed_image_extensions\x22;a:3:\x7Bi:0;s:3:\x22jpg\x22;i:1;s:3:\x22gif\x22;i:2;s:3:\x22png\x22;\x7Ds:23:\x22allowed_link_extensions\x22;a:11:\x7Bi:0;s:3:\x22jpg\x22;i:1;s:3:\x22gif\x22;i:2;s:3:\x22pdf\x22;i:3;s:2:\x22ip\x22;i:4;s:3:\x22txt\x22;i:5;s:3:\x22psd\x22;i:6;s:3:\x22png\x22;i:7;s:4:\x22html\x22;i:8;s:3:\x22swf\x22;i:9;s:3:\x22xml\x22;i:10;s:3:\x22xls\x22;\x7D\x7D',
'backend_data[session_name]': 'PNSID',
'backend_data[key_location]': 'Xinha:BackendKey',
'backend_data[hash]': 'bff4be74ca742f2f9e83fbea76d9ad8df15604bf',
PNSID: '41a5a766cf5c6f3f0638d4766a1d5a97'
};

              }
      }

There was already a similar thread at http://xinha.gogo.co.nz/punbb/viewtopic.php?id=765 - where i used the "old" configuration ...
EFM always uses the default folder "demo_images". I tried writing the session as described in above thread to a file. From cms part i get the session content, but no log is written from EFM config.inc.php as described.

Anyone out there who can help me wink ?

Offline

Board footer

Powered by FluxBB