Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued Products: Page Publisher:
Cann't get right on #4 of Uploading Images Through the WYSIWYG Editor

 

 


davidwu
User

Jun 10, 2006, 6:57 AM

Post #1 of 9 (3816 views)
Shortcut
Cann't get right on #4 of Uploading Images Through the WYSIWYG Editor Can't Post

4. image_page.html
For this step, you'll need to add a new page to Page Publisher that just has an image_select tag on it. You'll find one in the zip file called image_page.html. Once it's been added go back to Update Pages list and click on the update button for the page you just created. Up in the URL now, you'll see something like this:

http://www.yoursite.com/cgi-bin/pp/pp.cgi?editpage=7

Make a note of the number you see at the end there. In this case it's a 7. One neat thing you can do so that no one actually edits this page is just assign it to a user account that no one can log in with using the admin link.

I followed the above step, however I can not get the
http://www.aroman.com.tw/cgi-bin/pp/pp.cgi?editpage=7
so the drop down of image manager is not working properly.

By the way, I still don't understand what is editpage=7, could you explain further?


Also I opened up the image_page.html of zip file, there is only
<!-- publish type="image_select" allowupload="yes" uploaddir="" allowremove="no" editalt="yes" rows="2" -->
<!-- /publish -->
Is that correct for this page?


MikeB
Staff / Moderator


Jun 10, 2006, 5:02 PM

Post #2 of 9 (3814 views)
Shortcut
Re: [davidwu] Cann't get right on #4 of Uploading Images Through the WYSIWYG Editor [In reply to] Can't Post

Hi David,

Thanks for the post! Smile

In the tutorial for the WYSIWYG upload, "editpage=7" is used an example. You'll notice the tutorial mentions to click the "Update" button for your new image_page.html and look at the URL in your browser window. In your case, what you should see will be a URL that looks like this:

http://www.aroman.com.tw/cgi-bin/pp/pp.cgi?editpage=X

You'll just make a note of "X" and you'll use it in step 5 in the tutorial to tell the CGI script which page is being used for the image uploading. As this page is only a dummy page to be used by directory.cgi the code you've seen is the only code that needs to be in image_page.html.

I hope this helps and if you have any other questions feel free to let me know! Smile

Cheers,
Mike Briggs - Product Specialist
support@interactivetools.com


Hire me!
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 Priority Consulting.


davidwu
User

Jun 11, 2006, 5:49 AM

Post #3 of 9 (3806 views)
Shortcut
Re: [MikeB] Cann't get right on #4 of Uploading Images Through the WYSIWYG Editor [In reply to] Can't Post

 I still cann't get the drop down list on the image manager. Please see the attachemnt picture.

For directory.cgi, I made the following changes, Did I di it right? I copy the URL and DRL form setup option.

# Upload URL and Dir (CHANGE THESE TO MATCH YOUR SERVER)
my $uploadURL = "http://www.aroman.com.tw/index/images/";
my $uploadDIR = "/hsphere/local/home/aroman/aroman.com.tw/index/images"
Attachments: –¢–½–¼2.JPG (35.5 KB)


ross
Staff / Moderator


Jun 11, 2006, 9:56 AM

Post #4 of 9 (3805 views)
Shortcut
Re: [davidwu] Cann't get right on #4 of Uploading Images Through the WYSIWYG Editor [In reply to] Can't Post

Hi David.

Thanks for posting!

From the screen shot, I don’t think this is going to be pathing problem right now. The internal server errors are more commonly related to the script itself.

What I suggest is that you double check that directory.cgi has “755” permissions and has been uploaded to the same folder as your admin.cgi script. If that checks out, the problem could be that directory.cgi has been corrupted. To check this, just delete directory.cgi from your server and then upload a new copy.

Could you look into this and let me know if either of these suggestions get you going? I look forward to hearing from you Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
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 Priority Consulting.




davidwu
User

Jun 12, 2006, 12:46 PM

Post #5 of 9 (3790 views)
Shortcut
Re: [ross] Cann't get right on #4 of Uploading Images Through the WYSIWYG Editor [In reply to] Can't Post

I got it now. Thanks.


doey
User

Jul 6, 2006, 3:18 AM

Post #6 of 9 (3688 views)
Shortcut
Re: [ross] Cann't get right on #4 of Uploading Images Through the WYSIWYG Editor [In reply to] Can't Post

Hi There

I have been having a similar problem in the fact that I cannot get the Image Upload to work on the wysiwyg interface. When I press the image icon a small window opens with nothing on it and an exclamation mark appears in the bottom left saying "errors on page". This is accompanied with {$lang_insert_image_title} in the title bar.

When I view the source of this I see that there are some references being made to the Desktop. For example:

<script language="javascript" type="text/javascript" src="../../../../../../../../../../Desktop/pp_editor_upload_images/jscripts/functions.js"></script>

and

<link href="../../../../../../../../../../Desktop/pp_editor_upload_images/css/advimage.css" rel="stylesheet" type="text/css" />
<base target="_self" />

This doesn't seem to make any sense. Surely this cannot be making any reference to the web server Desktop. I have the pp_editor folder on my desktop. But how and why does it make reference that.

I also see that you say directory.cgi should be set at 755, which it is, and it should be held in the same folder as admin.cgi. It is not. So I did a search on a couple of sites that I have PP on and the only result I got was a sit the also has Search Engine on it. It is in the exec folder on SE and nowhere to be seen on PP.

I am finding this one very confusing. Could you please get back to me as I have people breathing down my neck on this.

Regards
Damien


ross
Staff / Moderator


Jul 6, 2006, 10:50 AM

Post #7 of 9 (3680 views)
Shortcut
Re: [doey] Cann't get right on #4 of Uploading Images Through the WYSIWYG Editor [In reply to] Can't Post

Hi Damien.

Thanks for posting!

You are correct. The popup window you get there shouldn’t be refering to anyone’s desktop. What I think has happened is the html editor you are using (I am going to guess Dreamweaver) has actually editing some of the links for you.

What you’ll want to do is take the default copy of image.htm I have attached to this post and try making the changes again. If at all possible too, try uploading the modified file back to your server using a standalone FTP client instead of your HTML editor.

How does that sound? Give this a whurl and let me know how you make out Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
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 Priority Consulting.


Attachments: image.htm (10.3 KB)


SBJoe
New User

Jun 6, 2007, 3:32 PM

Post #8 of 9 (2794 views)
Shortcut
Re: [ross] Cann't get right on #4 of Uploading Images Through the WYSIWYG Editor [In reply to] Can't Post


In Reply To

What I suggest is that you double check that directory.cgi has “755” permissions and has been uploaded to the same folder as your admin.cgi script. If that checks out, the problem could be that directory.cgi has been corrupted. To check this, just delete directory.cgi from your server and then upload a new copy.

Could you look into this and let me know if either of these suggestions get you going? I look forward to hearing from you Smile.

I am having the same problem that I think David was having. Everything is working fine with image uploads except for the drop down menu in the advance image popup window. Where the drop down menu should be are the partial words "Internal Server." I can only see the top half of those two words. I've gone through the tutorial three times to make sure I did everything correctly. I downloaded a new directory.cgi file, made the configurations to it, and made sure it had the 755 permissions after uploading it to the same folder that has the pp.cgi file. But I still get the same result. No drop down list. Any suggestions for what I should do next? Thanks.


Jake
Staff / Moderator


Jun 7, 2007, 2:50 PM

Post #9 of 9 (2735 views)
Shortcut
Re: [SBJoe] Cann't get right on #4 of Uploading Images Through the WYSIWYG Editor [In reply to] Can't Post

Hi SBJoe,

Thanks for posting!

I think the easiest way for us to look at this problem for you would be to fill out a support request with your FTP details here:

https://www.interactivetools.com/support/email_support.cgi

Let us know if there's anything else we can do for you. Smile
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@interactivetools.com


Hire me!
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 Priority Consulting.


 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4