Announcement

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

#1 2006-01-21 18:38:39

jive
Xinha Community Member
Registered: 2005-12-03
Posts: 14

Linker Plugin Problems.

Hello Folks.
The Linker plugin will solve all of my problems if I can get it to work correctly!! I'm getting the following error:


Stack overflow at line: 0 .

This only happens when I try to scan a specific directory like so on my scan.php file:

$dir = "/home/jivedc/public_html/fileuploads/";
    $include      = '/\.(php|shtml|html|htm|shtm|cgi|txt|doc|pdf|rtf|xls|csv)$/';
    $exclude      = '';
    $dirinclude   = '';
    $direxclude   = '/(^|\/)[._]|htmlarea/'; // Exclude the htmlarea tree by default

The following code however does work:

$dir = "/home/jivedc/public_html/";
    $include      = '/\.(php|shtml|html|htm|shtm|cgi|txt|doc|pdf|rtf|xls|csv)$/';
    $exclude      = '';
    $dirinclude   = '';
    $direxclude   = '/(^|\/)[._]|htmlarea/'; // Exclude the htmlarea tree by default

I havn't a clue what a stack error is... I suppose I can give the users root access if I really have to, but I would rather avoid this.

Any ideas? -- Also why does it limit me to only certain directories?

Last edited by jive (2006-01-21 19:08:03)

Offline

#2 2006-01-21 20:43:57

Ecco
Xinha Community Member
From: Netherlands
Registered: 2005-03-08
Posts: 48
Website

Re: Linker Plugin Problems.

My errors disappeared when I put some files in the directory for the linker plugin to find.

Offline

#3 2006-01-22 15:42:31

jive
Xinha Community Member
Registered: 2005-12-03
Posts: 14

Re: Linker Plugin Problems.

yup, you're right.  scan.php will not display a folder if there are no files inside. This plugin has alot of potential combined with a file upload script. It does everything I need it to do.

Offline

#4 2006-01-25 07:17:57

Ecco
Xinha Community Member
From: Netherlands
Registered: 2005-03-08
Posts: 48
Website

Re: Linker Plugin Problems.

I made an upload-script but I didn't know how to reload the plugin. So I had to reload Xinha before the new uploads would appear in the linker-plugin.

Offline

#5 2006-01-28 07:56:53

jive
Xinha Community Member
Registered: 2005-12-03
Posts: 14

Re: Linker Plugin Problems.

Ecco, can you make your plugin available?

Offline

#6 2006-01-30 06:06:17

Ecco
Xinha Community Member
From: Netherlands
Registered: 2005-03-08
Posts: 48
Website

Re: Linker Plugin Problems.

Well it's nothing fancy. It accepts a bunch of media-files which it verifies using the php-function getimagesize()
and the getID3-library, and then copies to /files.

Source and gif are here : http://www.400bis.nl/forum/messages.php?thread=284
Just press the button "Nieuw bericht" to see a working example. It's the last button, you can't miss it smile

Offline

#7 2006-01-30 15:05:08

jive
Xinha Community Member
Registered: 2005-12-03
Posts: 14

Re: Linker Plugin Problems.

hmm, I'm having the same problem making the linker plugin refresh or reload the plugin. would work out perfectly if this could be figured out...

Offline

Board footer

Powered by FluxBB