Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Page Publisher:
Image Upload Directory.cgi Drop Down Issue

 

 


aaronmatthew
New User

Nov 2, 2007, 5:09 PM

Post #1 of 4 (3256 views)
Shortcut
Image Upload Directory.cgi Drop Down Issue Can't Post

I can upload images in the WYSIWYG just fine, however the <iframe> that pulls in the /cgi-bin/pp/directory.cgi is not populating the image list or even showing up at all (completely blank).

I have done this install for other clients before and this is the first time I have come across this issue. Help...


Jake
Staff / Moderator


Nov 5, 2007, 11:40 AM

Post #2 of 4 (3229 views)
Shortcut
Re: [aaronmatthew] Image Upload Directory.cgi Drop Down Issue [In reply to] Can't Post

Hi Aaron,

Thanks for your post!

I think I just followed up with you on this through email, but in case anyone else is wondering the first thing to check here is going to be the paths set in the directory.cgi file. If these are set incorrectly or if the path doesn't have a slash at the end, this script may not load. Smile
-----------------------------------------------------------
Cheers,
Jake Marvin - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


aaronmatthew
New User

Nov 5, 2007, 3:13 PM

Post #3 of 4 (3226 views)
Shortcut
Re: [Jake] Image Upload Directory.cgi Drop Down Issue [In reply to] Can't Post

I found the problem or the solution rather. The original directory.cgi file had:

Code
#!/usr/bin/perl 
print "Content-type: text/html\n\n";
#use strict;


I changed it to:

Code
#!/usr/bin/perl -wT 
use CGI qw(:standard);
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
use strict;

print "Content-type: text/html\n\n";


It works now.


Jake
Staff / Moderator


Nov 6, 2007, 10:43 AM

Post #4 of 4 (3190 views)
Shortcut
Re: [aaronmatthew] Image Upload Directory.cgi Drop Down Issue [In reply to] Can't Post

Hi Aaron,

Thanks for posting your solution here - this might come in handy for someone else! Smile
-----------------------------------------------------------
Cheers,
Jake Marvin - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]