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

Home: Discontinued Products: Article Manager 1 Add-ons:
Publishcron 1.0 for Article Manager

 

First page Previous page 1 2 3 Next page Last page  View All


halkibsi
User

Apr 6, 2004, 1:18 AM

Post #26 of 54 (6898 views)
Shortcut
Re: [Donna] Publishcron 1.0 for Article Manager [In reply to] Can't Post

I see... Do you know of somebody in the forums that has done custom perl programming on AM? :)


Cheers!

Haitham
halkibsi@mtiaz.com
http://www.mtiaz.com


Eric
Product Specialist


Apr 6, 2004, 2:17 PM

Post #27 of 54 (6896 views)
Shortcut
Re: [halkibsi] Publishcron 1.0 for Article Manager [In reply to] Can't Post

HI halkibsi,

Thanks for the forum post Smile

While I don't know anyone off the top of my head who can do custom Perl programming, you can try this site:

www.rentacoder.com

You can submit programming projects and coders can bid on it.

I hope this helps. If you have other questions please let me know.
Cheers,
Eric Lau - Product Specialist
support@interactivetools.com


lionel2
New User

Oct 30, 2004, 11:52 AM

Post #28 of 54 (6372 views)
Shortcut
Re: [Eric] Publishcron 1.0 for Article Manager [In reply to] Can't Post

and also http://www.rent-a-pro.com/


nnalin
User

May 9, 2005, 11:50 AM

Post #29 of 54 (5718 views)
Shortcut
Re: [Benjamin] Publishcron 1.0 for Article Manager [In reply to] Can't Post

I use windows system and run Active perl. I have to rename all the .cgi to .pl.

I changed the publishcron.cgi to publishcron.pl and made modifications to the .ini file. When I go to http://localhost/artman/exec/publishcron.pl?page=1 I get a page not found messsage. If I make any mistakes in the .ini file I get a specific message. This says that the web server is reading the publishcron.pl file and trying to send me to someplace else and that page is not found.

Are there any permissions I nees to set?


ross
Staff / Moderator


May 9, 2005, 4:34 PM

Post #30 of 54 (5712 views)
Shortcut
Re: [nnalin] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Hi there.

Thanks for posting and welcome to the board!

The publishcron script will actually need to have “755” permissions set on it so you might want to double check that. Could I get you to post up the contents of your ini file so that I can take a look at how things are setup?

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.




nnalin
User

May 9, 2005, 4:42 PM

Post #31 of 54 (5710 views)
Shortcut
Re: [ross] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Ross, thanks for the reply. On further analysis here what I found.

When I go to the search.pl from the browser, I see a 200 code in IIS logs. But when the same search.pl is accessed from the publishcron script, I get a 404 message. So, the page not found is from the search.pl.

Any, sugestions?

From Log:

From Browser
18:53:43 127.0.0.1 GET /artmgr/exec/search.pl 200


from script:
19:08:06 127.0.0.1 GET /artmgr/exec/search.pl 404
19:08:06 127.0.0.1 GET /artmgr/exec/publishcron.pl 200


ross
Staff / Moderator


May 10, 2005, 2:17 PM

Post #32 of 54 (5702 views)
Shortcut
Re: [nnalin] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Hi.

Thanks for the update!

That last post got me to thinking that it might have to do with one of the settings in Setup Options, so I am going to get you to take a look for me Smile.

The setting is called “Dynamic Page Rendering” and you’ll find it on the General tab of Setup Options. I imagine that it is currently set to Resolve SSI’s and Server-side Scripting. What I’ll get you to do is switch this to the other option (Resolve template include tags), save the change and try your publish cron again.

Could you let me know how that works out?
-----------------------------------------------------------
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.




nnalin
User

May 11, 2005, 8:10 AM

Post #33 of 54 (5694 views)
Shortcut
Re: [ross] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Ross, the setting is on "Resolve "template include" tags".


ross
Staff / Moderator


May 11, 2005, 2:36 PM

Post #34 of 54 (5679 views)
Shortcut
Re: [nnalin] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Hi Nalin.

Thanks for the update!

When you just try to view your search engine does it come up or do you also get a 404 page?

Could you post up the contents of your publishcron.ini file so that I can have a look at how you set it up?

Could you try re-uploading the publishcron files again just incase the files themselves have become corrupted? I’ll attach another copy of them for you to this post.

Finally, everything else checks out would you be able to fill out a support request so I can take a closer look?

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

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.




dwethell
Novice

May 19, 2005, 3:31 AM

Post #35 of 54 (5623 views)
Shortcut
Re: [ross] Publishcron 1.0 for Article Manager [In reply to] Can't Post

I have 52 pages in our publishcron. Am I doing this correctly? The reason I have 52 is because there are 26 categories on the site and I have to generate two pages for each category. At least I think I do. This is because the customcat.html used as a template has these two includes in it:

<!--#include virtual="/cgi-bin/artman/exec/search.cgi?cat=$cat_num$&fields=art_field2&keyword=yes&template=search/custom.html"-->
<!--#include virtual="/cgi-bin/artman/exec/search.cgi?cat=$cat_num$&fields=art_field2&keyword=no&template=search/custom2.html"-->

That provides two different searches per category. So I have reproduced those calls for each category in the system:

page1 = /var/www/html/artman/inc/static_1_1.html
query1 = cat=1&fields=art_field2&keyword=yes&template=search/custom.html

page2 = /var/www/html/artman/inc/static_1_2.html
query2 = cat=1&fields=art_field2&keyword=no&template=search/custom2.html

And so on for all the categories we have.

Then I will be changing customcat.html to use these includes instead:

<!--#include virtual="/artman/inc/static_$cat_num$_1.html"-->
<!--#include virtual="/artman/inc/static_$cat_num$_2.html"-->

It almost seems like overkill to have that many pages in the publishcron. Actually there are not 26 active categories, but the current max number is 26 with many gaps in between 1 and 26. I just put them all in there to cover any future categories (assuming artman fills in the gaps when a new category is created).

Am I on the right track?

Thanks,
David


ross
Staff / Moderator


May 19, 2005, 2:11 PM

Post #36 of 54 (5617 views)
Shortcut
Re: [dwethell] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Hi David.

Thanks for the post!

There isn’t a maximum number of searches a publishcron can do so there’s no problem there. Having 52 queries in it though, may sound like a lot, however, if you everything is running along smoothly, I don’t see any reason to change it Smile.

Just keep me up to date on your progress and I would be more than happy to lend a hand 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.




biruel
User

Jun 24, 2005, 6:41 AM

Post #37 of 54 (5402 views)
Shortcut
Publishcron 1.0 PROBLEM [In reply to] Can't Post

original include
<!--#include virtual="/cgi-local/artman/exec/search.cgi?search=1&perpage=3&cat=5&template=search/sotitulos.htm" -->

Publishcron.ini

#--------Search URL

searchurl = http://www.carlinhos.org/cgi-local/artman/exec/

#--------Search Queries

page1 = testepage.html
query1 = search=1&perpage=3&cat=5&template=search/capa1.htm

CMOD cgi=755 / ini=766
-------------
http://www.carlinhos.org/cgi-local/artman/exec/publishcron.cgi?page=1
No work, SERVER ERROR 500

Unsure
Help


MikeB
Staff / Moderator


Jun 24, 2005, 1:59 PM

Post #38 of 54 (5393 views)
Shortcut
Re: [biruel] Publishcron 1.0 PROBLEM [In reply to] Can't Post

Hi biruel,

Thanks for the post! Smile

As publishcron.cgi is a free add-on script it's not something we can really offer a lot of support for. That said, I've got a couple of suggestions you might want to try.

First, you'll want to make sure that the folder that testepage.html is being written to has the correct permissions set on it so publishcron.cgi will be able to create this file (the folder should be CHMOD 777).

You may also want to try changing your "page1" value to a relative path from the /cgi-local/artman/exec/. This means in publishcron.ini you would replace this:

page1 = testepage.html

With something like this (depending on the path being used on your server):

page1 = ../../../html/testepage.html

If this still doesn't work you may want to fill out a support request here:

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

I should be able to have a quick look at the script for you to see if I can find where the error is coming from.

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.


DefenceTalk.com
User

Jul 9, 2005, 8:47 AM

Post #39 of 54 (5138 views)
Shortcut
Re: [Donna] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Our host told me that they cannot run cron jobs like this:

http://www.defencetalk.com/cgi-bin/news/exec/publishcron.cgi?page=1

and that it has to be changed to an absolute path:

"/home/defence/public_html/cgi-bin/news/exec/publishcron.cgi"

If this is the case, does publishcron work? What about the ?page=page# ?



thanks




MikeB
Staff / Moderator


Jul 9, 2005, 2:13 PM

Post #40 of 54 (5134 views)
Shortcut
Re: [DefenceTalk.com] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Hi,

Thanks for posting! Smile

When you're running Publishcron through your web browser it would need to be run as a full web URL.

If your web host won't allow this then you may want to look at a solution Theo had come up with:

http://www.interactivetools.com/forum/gforum.cgi?post=13669#13669

This post will use a relative path and is very helpful as you wouldn't actually have to run publishcron.cgi yourself, it will automatically run whenever you save an article.

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.


jcocking
User

Jul 10, 2005, 2:38 PM

Post #41 of 54 (5102 views)
Shortcut
Re: [DefenceTalk.com] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Yes it will work. It will run all the items(pages) in your ini file.

I have it set up that way on my server. I run the publishcron every 30 minutes and it is updating about 15 pages. I use these pages as includes in a variety of different areas.

jeff
Jeff Cocking
Lotus Elan (AM 1.38)
VoIP Phone Comparisons (AM 2.02)


jcamp
User

Jul 14, 2005, 12:55 AM

Post #42 of 54 (5003 views)
Shortcut
Re: [Benjamin] Publishcron 1.0 for Article Manager [In reply to] Can't Post

This may be a stupid question, but what happens if your running under windows/iis and dont have cron (i believe its a unix util). Are there Windows equiv.?


ross
Staff / Moderator


Jul 14, 2005, 11:06 AM

Post #43 of 54 (4993 views)
Shortcut
Re: [jcamp] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Hi again jcamp.

Thanks for posting!

The best windows specific equivalent I can think of for cron jobs is the scheduled task manager. You can set this load up a link to your publishcron script in a web browser.

Theo has come up with a great workaround for running publishcron though. The best part is that it will work on any platform. Take a look at it in this thread:

http://www.interactivetools.com/forum/gforum.cgi?post=13669;search_string=publishcron;t=search_engine#13669

Does that help? Feel free to get back in touch if you have anymore questions 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.




jcamp
User

Jul 14, 2005, 1:14 PM

Post #44 of 54 (4992 views)
Shortcut
Re: [ross] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Ross, thanks for the prompt reply. Hopefully that will do the job Smile


DefenceTalk.com
User

Jul 20, 2005, 9:23 AM

Post #45 of 54 (4875 views)
Shortcut
Re: [MikeB] Publishcron 1.0 for Article Manager [In reply to] Can't Post

After doing this, I am seeing a lot of "temp_0393939393.php" articles in the /news/publish/ directory. Can I delete these? Unsure


Cliff
Staff


Jul 22, 2005, 4:44 PM

Post #46 of 54 (4847 views)
Shortcut
Re: [DefenceTalk.com] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Hi DefenceTalk.com,

Thanks for posting.

Any temporary files can be removed, but Article Manager should be taking care of this for you automatically. If you let me know the CHMOD settings of those temp files, I may be able to reccomend something so that they are removed by Article Manager.
Regards,
Cliff Stefanuk - Customer Service Manager
support@interactivetools.com


DefenceTalk.com
User

Jul 22, 2005, 6:06 PM

Post #47 of 54 (4842 views)
Shortcut
Re: [Cliff] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Hi Cliff, thanks.

CHMOD setting is 644 on temp_digits.php files.


MikeB
Staff / Moderator


Jul 23, 2005, 4:38 PM

Post #48 of 54 (4831 views)
Shortcut
Re: [DefenceTalk.com] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Hi,

Thanks for the post! Smile

One thing you may want to try is changing the umask setting your server.

It sounds to me like your server is set up so that files that are being created aren't able to have high enough permissions on them to allow them to be removed. However, you can override this setting by finding this line in your config.ini in the /exec/ directory:

#umask = 000

You can remove the # (to uncomment this line) so it looks like this:

umask = 000

You can save this file and re-upload it to your /exec/ directory. Now Article Manager should override the server's umask settings and force it to change the permissions accordingly.

You can give this a try and let me know how it works out for you.

If you have any other questions you can 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.


kinoli
User

Oct 30, 2005, 11:41 PM

Post #49 of 54 (4215 views)
Shortcut
Re: [Benjamin] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Can you tell me what I'm doing wrong. I keep getting a 500 Internal Server Error

Here is what i have in my publishcron.ini file...


Code
   

# ----------------------------------------------------------------------------
# Publishcron.ini for Article Manager Publishcron.cgi
# Publishes search.cgi queries into static files for includes
# Copyright (C) 2003 interactivetools.com, All Rights Reserved
# http://www.interactivetools.com/
# ----------------------------------------------------------------------------

#--------Search URL

searchurl = http://www.quantifiedmarketing.com/cgi-bin/artman/exec

#--------Search Queries

page1=/home/qmg/public_html/rss/rss.xml
query1=cat=23&template=search/rss.html&perpage=10

#page2 =
#query2 =

#page3 =
#query3 =

I created a directory called /rss where i want the rss feeds to go. its permissions are 777. I uploaded my rss.html template to the proper directory. What else am I missing. thanks.


ross
Staff / Moderator


Oct 31, 2005, 9:18 AM

Post #50 of 54 (4206 views)
Shortcut
Re: [kinoli] Publishcron 1.0 for Article Manager [In reply to] Can't Post

Hi Kinoli.

Thanks for posting Smile.

There are a couple things I can think of right away.

First would be the permissions on your publishcron.cgi script itself. They will need to be set to “755”. If that checks out, try adding in a “/” at the end of your search url in the ini file like this:

http://www.quantifiedmarketing.com/cgi-bin/artman/exec/

And last but not least, try uploading a new copy of the publishcron script incase the one that’s there has become corrupted.

Also, if anyone else has any pointers here, we would both appreciate the help.

Keep me up to date 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.



First page Previous page 1 2 3 Next page Last page  View All
 
 


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