Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 4 1 2 3 4
#142777 03/22/2002 8:07 AM
Joined: Jan 2002
Posts: 116
Member
Member
Offline
Joined: Jan 2002
Posts: 116
quote:
Originally posted by Ed:
hi Greg, i have an error:

quote:
Unable to create a new configuration file: No such file or directory at /home/*****/www/pm/*******/htdocs/cgi-bin/board/cp_ubbnews.cgi line 109.


what should i do now? i have no file whos called "vars_ubbnews_$lastnumber.cgi"

so i don't know what the scripts is looking for frown

please help,
thanks a lot in advance

Ed

did you creat an directory called ubbnews and chmod it 777? tipsy

Sponsored Links
#142778 03/23/2002 10:39 PM
Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
[code][/code][/b]
Lauren... I have the same thing... no one has been able to help me on it yet.... I gave up and got rid of everything I uploaded and reinstalled my back up files... until this all gets straightened out and someone can fix this, I'm not even going to mess with it anymore....

#142779 03/23/2002 10:46 PM
Joined: Jul 2000
Posts: 837
Member
Member
Offline
Joined: Jul 2000
Posts: 837
look Kel ther is not a thing wrong with this hack read my post befor this one you are doing the ssi call all wrong or something.

#142780 03/24/2002 12:09 AM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
This hack works as directed. If you don't know how to use SSI, that's honestly not my problem. Ask your systems admin how to use SSI properly, because it varries.

#142781 03/24/2002 12:11 AM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
quote:
Originally posted by Kel:
Update... still can't get this to work... I've checked all permissions, check all paths... gone to my server FAQS for support on that end... did all that they said... created the .shtml file... blahblahblah... and I get either

unable to include "ubbnews.cgi?ns_id=1" in parsed file....

or

Premature end of script headers:....

or

File does not exist: ....

or

script not found or unable to stat:....

or

Can't locate UBBCGI.pm in @INC.....

I give up...

Then there is alot more wrong that what I can help.

Sponsored Links
#142782 03/24/2002 2:50 PM
Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
{sigh}... I did everything exactly as instructed... called up the ssi exactly as you posted above... tried both ways "just in case"... checked with my server to make sure I did it right according to their instructions... everything went smooth as silk... EXCEPT!... I got the same error as Lauren...

[an error occurred while processing this directive]

When I checked my error log to see why I got this message, I saw various different errors (listed above) depending on what I tried in order to fix it...

As I am not the only one having this same exact problem, I don't think it's me... I'm frustrated beyond belief with this because it all seems so simple and should be... and despite my efforts to figure it all out and get some assistance, it is still not working for me...

I sincerely apologize for passing my frustrations on to those of you who have tried to help... I DO appreciate your time and efforts... smile

#142783 03/24/2002 5:03 PM
Joined: Jul 2000
Posts: 837
Member
Member
Offline
Joined: Jul 2000
Posts: 837
Kel
i am going to show you that this works with no probs at all have a look at this page.

http://www.starbraker.com/Contests2.shtml

yes it works with no probs with it.
so this tells me it is something your doing or it is your server.

#142784 03/25/2002 3:51 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
Is there any way to call it with PHP? frown

#142785 03/28/2002 3:42 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
Bump...

#142786 03/28/2002 10:19 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Bug Fixes.

Sponsored Links
#142787 03/28/2002 11:27 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
quote:
Originally posted by Dave2:
Is there any way to call it with PHP? frown

how do you mean Dave? Call the script? or call the latest posts?


- Allen wavey
- What Drives You?
#142788 03/29/2002 12:00 PM
Joined: Feb 2000
Posts: 62
Member
Member
Offline
Joined: Feb 2000
Posts: 62
This might help . . .

I was having the same problems as Kel, Lauren etc., but I got out of jail - not sure if what I went through will help but for what it’s worth, here it is:

I was editing my html in frontpage (I know, I know) and when I pasted the "exec cgi="cgi-bin/ubb/ubbnews.cgi?ns_id=1" command, I kept getting wild characters. So I cleaned it up using dreamweaver (trial) and then logged on to my host server suspecting that front page extensions might be an issue.

I had never turned them on but I guessed that given the popularity of the prog. – they might be ‘on’ by default – they were so off they came.

I then read about html parsing problems and a little hack to the .htaccess file when using the subdir – htdocs. (mine’s at the same level as cgi-bin) So I modified the .htaccess as per the text below

Quote
Because it is very resource intensive to have the server parse all HTML files it serves, it is common not to parse .html files for SSI's. You can make it parse all files on your site however by adding the following line to your .htaccess file in your htdocs directory. AddHandler server-parsed .html This will make all subdirectories (i.e., your entire site) parse *.html files. End quote

There was a bit more info about ssi here ‘http://powweb.com/support/ssi.html’ including a simple (time) script which worked for me, demonstrating that I could ssi to html docs on my server. But I still kept getting - [an error occurred while processing this directive] – during the ubb call.

Finally I checked this link “http://httpd.apache.org/docs/howto/ssi.html#includingtheresultsofacgiprogram” which referred to outputting the results of a cgi script, and I noticed the (#include virtual="/cgi-bin/etc.etc) variation as detailed by Greg. So I changed mine and “VOILA”

Now I’m not sure which of these steps cured the problem, I had tried the (#include virtual="/cgi-bin/) earlier without success so I suspect it might have been a combination of crap html in F/Page, F/P extensions and the .htaccess – I’m not skilled at all when it comes to understanding how servers work so I may be way off base – but anyhow – it worked in the end.

Now – can anybody advise on how best to format the output – it’s taking up a lot of room (even with headers only) especially with the date in there. I’ve tried to change the style template and reduce the font but I’ll still struggle to match my page

I guess it’ll have to wait until tomorrow - it’s 3:45am in Sydney and I’m going blind wink – g’night all

PS - I just had to re-type ALL this again - I lost the lot because I'd included html parentheses in the post - not happy mad


I'm depriving a village somewhere of an idiot.
#142789 03/29/2002 3:05 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
quote:
Originally posted by AllenAyres:
quote:
Originally posted by Dave2:
Is there any way to call it with PHP? frown

how do you mean Dave? Call the script? or call the latest posts?
Call the latest posts...

If it generated a .inc file or something you definitelt could... Does it generate a file which gets updated, or not?

#142790 03/29/2002 3:38 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
You can print the generated cgi file in a .php page, use something like we do on our front page:
[code][/code]


- Allen wavey
- What Drives You?
#142791 03/29/2002 5:05 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
Thanks smile

(I saw that someone asked this question in the server-side scripting forum but got an incorrect answer...)

#142792 03/29/2002 5:48 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
Is there some way to remove the:

:

Before the posts? I've removed the 'forum text' since it doesn't look right on our site, however it still has the : and I can't figure out how to remove it...

(see http://www.aagames.co.uk to see what I mean...)

#142793 03/29/2002 8:41 PM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
When I tried to generate that cgi code into the php page, I got this error message:

Warning: Bad arguments to implode() in /home/virtual/roxydollboard/home/httpd/html/ubbphptest.php on line 2
?>

#142794 03/29/2002 8:52 PM
Joined: Feb 2000
Posts: 62
Member
Member
Offline
Joined: Feb 2000
Posts: 62
OK - all works well - BUT - I cannot find a way for the output to conform to the nominated style template settings. It will pick up any changes to font colour – but not face or size??

I can adjust the font face (only) by embedding font info into the receiving page before uploading. When I “view source” on the output page, every UBBnews entry shows

I’ve tried Corona’s (public_ubbnews.pl) variation but no luck - HELP – as it stands it’s about as much use as an ashtray on a harley given that my output page is all size 1 arial


I'm depriving a village somewhere of an idiot.
#142795 03/29/2002 9:20 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Let me look into that. It is working perfectly on my sites for, well over 9 months.

#142796 03/29/2002 9:24 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
quote:
Originally posted by guvner:
This might help . . .

I was having the same problems as Kel, Lauren etc., but I got out of jail - not sure if what I went through will help but for what it’s worth, here it is:

I was editing my html in frontpage (I know, I know) and when I pasted the "exec cgi="cgi-bin/ubb/ubbnews.cgi?ns_id=1" command, I kept getting wild characters. So I cleaned it up using dreamweaver (trial) and then logged on to my host server suspecting that front page extensions might be an issue.

I had never turned them on but I guessed that given the popularity of the prog. – they might be ‘on’ by default – they were so off they came.

I then read about html parsing problems and a little hack to the .htaccess file when using the subdir – htdocs. (mine’s at the same level as cgi-bin) So I modified the .htaccess as per the text below

Quote
Because it is very resource intensive to have the server parse all HTML files it serves, it is common not to parse .html files for SSI's. You can make it parse all files on your site however by adding the following line to your .htaccess file in your htdocs directory. AddHandler server-parsed .html This will make all subdirectories (i.e., your entire site) parse *.html files. End quote

There was a bit more info about ssi here ‘http://powweb.com/support/ssi.html’ including a simple (time) script which worked for me, demonstrating that I could ssi to html docs on my server. But I still kept getting - [an error occurred while processing this directive] – during the ubb call.

Finally I checked this link “http://httpd.apache.org/docs/howto/ssi.html#includingtheresultsofacgiprogram” which referred to outputting the results of a cgi script, and I noticed the (#include virtual="/cgi-bin/etc.etc) variation as detailed by Greg. So I changed mine and “VOILA”

Now I’m not sure which of these steps cured the problem, I had tried the (#include virtual="/cgi-bin/) earlier without success so I suspect it might have been a combination of crap html in F/Page, F/P extensions and the .htaccess – I’m not skilled at all when it comes to understanding how servers work so I may be way off base – but anyhow – it worked in the end.

Now – can anybody advise on how best to format the output – it’s taking up a lot of room (even with headers only) especially with the date in there. I’ve tried to change the style template and reduce the font but I’ll still struggle to match my page

I guess it’ll have to wait until tomorrow - it’s 3:45am in Sydney and I’m going blind wink – g’night all

PS - I just had to re-type ALL this again - I lost the lot because I'd included html parentheses in the post - not happy mad

Right, the code MUST be inserted MANUALLY into your HTML file. You can NOT insert it using dreamweaver or frontpage, and uploading it via frontpage extensions is really a bad idea in general.

#142797 03/29/2002 9:26 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
quote:
Originally posted by guvner:
OK - all works well - BUT - I cannot find a way for the output to conform to the nominated style template settings. It will pick up any changes to font colour – but not face or size??

I can adjust the font face (only) by embedding font info into the receiving page before uploading. When I “view source” on the output page, every UBBnews entry shows

I’ve tried Corona’s (public_ubbnews.pl) variation but no luck - HELP – as it stands it’s about as much use as an ashtray on a harley given that my output page is all size 1 arial

Cant confirm this anywhere. Let me add some checks to the script...

#142798 03/29/2002 9:34 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
updated. only update if your having problems.

#142799 03/29/2002 9:51 PM
Joined: Jan 2002
Posts: 266
Kel Offline
Member
Member
Offline
Joined: Jan 2002
Posts: 266
guvner... THANK YOU!!!... I will be trying this tomorrow... I have Powweb as well and read that also... I can't remember why I didn't try it... I think one of the dogs was making off with my fuzzy slipper and I got sidetracked... I'll let you know if it works... again... thanks BUNCHES!... laugh

Edit:.... now I remember why I didn't do this... I couldn't find the .htaccess file... confused confused confused

#142800 03/30/2002 1:00 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
quote:
Originally posted by Ellen:
When I tried to generate that cgi code into the php page, I got this error message:

Warning: Bad arguments to implode() in /home/virtual/roxydollboard/home/httpd/html/ubbphptest.php on line 2
?>

Use the url to the script, not the path smile

http://www.roxydollboard.com/etc etc...


- Allen wavey
- What Drives You?
#142801 03/30/2002 1:43 AM
Joined: Feb 2000
Posts: 62
Member
Member
Offline
Joined: Feb 2000
Posts: 62
Thanks Greg - but no good news I'm afraid.

Went through the whole routine again - no change - situation as detailed before confused

In my case I simply cannot get it to pick up font face or size settings/changes from the style template.

I'm running 6.2.1 - anything there?

Any chance you could have a look at my setup??

Thanks for everything so far.

IGNORE - see next post . . .


I'm depriving a village somewhere of an idiot.
#142802 03/30/2002 4:44 AM
Joined: Feb 2000
Posts: 62
Member
Member
Offline
Joined: Feb 2000
Posts: 62
Hi Greg – ALL is well I found the little “culprit”

Line 91 of public_ubbnews.pl shows:

quote:
return qq~
$name_space->{forum_title}: $name_space->{topic_subject} ( $name_space->{topic_date} $name_space->{topic_time} )

~;

}

I amended this as follows:

quote:
return qq~
$name_space->{forum_title}: $name_space->{topic_subject} ( $name_space->{topic_date} $name_space->{topic_time} )

~;

}

and the problem went away!! – yeeeaahh – happy puppy

Thanks for your help . . .


I'm depriving a village somewhere of an idiot.
#142803 03/30/2002 9:29 AM
Joined: Apr 2001
Posts: 254
Member
Member
Offline
Joined: Apr 2001
Posts: 254
after installing this, I get this error! Help!

Global symbol "$vars_style_" requires explicit package name at /home/scificha/public_html/forum/cgi-bin/ubbnews.cgi line 35. Execution of /home/scificha/public_html/forum/cgi-bin/ubbnews.cgi aborted due to compilation errors

I am using 6.2.1.1. Any ideas?

#142804 03/30/2002 9:39 AM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
Yeah, I get that as well (upgraded just to have a look...)

#142805 03/30/2002 9:43 AM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
FIND:
Code
[/code]REPLACE WITH:
[code]
Fixed it for me laugh

#142806 03/30/2002 9:47 AM
Joined: Apr 2001
Posts: 254
Member
Member
Offline
Joined: Apr 2001
Posts: 254
Code
[/code]REPLACE WITH:
[code]
Fixed it for me laugh [/b]
Brilliant! It works! Thanx!

#142807 03/30/2002 11:25 AM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
For Allen Ayers:

Thanks for your help. UBB News works perfectly at
http://www.karass.nu/cgi-bin/ubb/ubbnews.cgi?ns_id=1

I needed to add a .htaccess file to the directory, though to permit me to run ssi from the cgi-bin. My hosting company did not provide that by default. I also had to make a .htaccess file to let me run cgi programs from a non-cgi directory. Those of you having problems might have to look into this. Finally, I could not use the "execute" command, but needed to make it into an "include" like this:



However, when I tried to call it from a php page, this is what I got:

http://www.karass.nu/ubbphptest.php

I'm so close, that it's frustrating, and would appreciate any assistance! Thanks!

#142808 03/30/2002 1:48 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
You have to put the URI to the file, rather than the path, if that helps... I got it running fine on PHP.

#142809 03/30/2002 8:23 PM
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
I got it to work, thanks all of you who helped smile

#142810 04/08/2002 1:11 AM
Joined: Jan 2002
Posts: 63
Member
Member
Offline
Joined: Jan 2002
Posts: 63
hello umm not sure if this would be a problem or not but. i hacked the 2 files it says to hack, uploaed them + the other varios files to the directories and such, chmodded them but there is nothing in my cp to set up anything?? so i can't do anything further. i get no errors anywhere but there is nothing there.
also in your instructions u have:
Code
[/code]this is what my cp has in it not sure if it should or not .

[code]
well that is about all there was only the 2 files too hack so not much code to mess up on my part.
i did update the vars wordlet mods files but that did'nt do anything.
i'll wait for a answer or mabye a point in the right direction.

oh 1 more thing.
in your instructions u have this.

- Upload files:
cp_ubbnews.cgi ( cgi-bin ) chmod 0755
ubbnews.cgi ( cgi-bin ) chmod 0755
vars_ubbnews_sessions.cgi ( vars dir ) chmod 0777
cp.cgi ( cgi-bin ) chmod 0755
cp_common.pl ( templates )
cp_ubbnews_sessions.pl ( templates )
cp_ubbnews_add_newssession.pl ( templates )
cp_ubbnews_edit_newssession.pl ( templates )
public_ubbnews.pl ( templates )

but in your zip file there is a extra file
vars_ubb_news.cgi i did upload this and chmodded it to 777 would this be wrong.

#142811 04/09/2002 4:25 PM
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
I install the last beta script (29.March) on a fresh installed V6.2.1.1

Seems to work but I notice the folling:
One setting made in control panel seems to be ignored. My generated news-config files looks like:

[code][/code]Settings for Charlimit seems to be ignored. I enter for a test '500' but it will not be saved. Know issue ?

#142812 04/10/2002 2:16 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
quote:
Originally posted by deathdealer:
hello umm not sure if this would be a problem or not but. i hacked the 2 files it says to hack, uploaed them + the other varios files to the directories and such, chmodded them but there is nothing in my cp to set up anything?? so i can't do anything further. i get no errors anywhere but there is nothing there.

It's at the bottom of the 'Primary Serttings' list box. If you don't have it, make sure you hacked cp_common.pl

#142813 04/12/2002 7:21 PM
Joined: Sep 2001
Posts: 90
Member
Member
Offline
Joined: Sep 2001
Posts: 90
Last time i installed this hack with 6.2.1 it worked but with the latest version it looks like this!! http://www.theplace.newriverweb.net/cgi-bin/ubbnews.cgi?ns_id=1 why is that please?

#142814 04/13/2002 2:34 PM
Joined: Mar 2002
Posts: 3
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 3
I'm using UBB 6.2.1.1 and i'm having trouble with this hack. I've reinstalled it a few times and i've followed the directions EXACTLY but I keep getting the same error message whenever I try and load ubbnews.cgi. Here it is:

Content-type: text/html
Software error:
Can't obtain exclusive lock: Bad file number at /usr/local/www/virtual/******/***/******/ubb_lib_files.cgi line 566.

Someone please help because I really could use this hack on my website. Thanks.

#142815 04/14/2002 12:30 PM
Joined: Feb 2002
Posts: 41
Member
Member
Offline
Joined: Feb 2002
Posts: 41
Hi there. I'm using ubb 6.2.0

when i install this hack My control panel does not work.

Code
[/code]in "installlation and readme.txt" file ;
Code
</pre></div></div>in My cp.cgi file;<br> [code]
and i modified other lines to cp.cgi and cp_common.pl files. But cp does not work. Please help me what is wrong

#142816 04/14/2002 4:21 PM
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
Now I set up a testboard with UBB V6.2.1.2 and modification wordlets. Nothing else. Cache and accelerator is enabled.

I install last beta script and it look like this:
Test Homepage with UBB News

On my production Board with UBB V6.1.0.3 and the script V 2.0.0b1.3 it work perfect and look like:

Production Homepage

I like to switch to V6.2. the V6.1 dosn't work well with ubbnews and cache turned on. Any suggestion how I can fix the display output of the new script ?

Page 3 of 4 1 2 3 4

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)