Page Index Toggle Pages: 1 [2] 3 4  Send TopicPrint
Very Hot Topic (More than 25 Replies) Custom Pages for YaBB 2.5AE - V.0.5.1 (Read 27688 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #15 - Dec 19th, 2010 at 4:23am
Print Post  
Roderunner wrote on Dec 19th, 2010 at 4:18am:
I do not have a file called YaBBC.pl in my variables directory.
I have one in my cgi-bin\Yabb2\ folder though.
Is this required?

No. YaBBC.pl should only be in the 'Sources' directory. But that's not causing your specific problem...
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #16 - Dec 19th, 2010 at 4:25am
Print Post  
Hmmmm.....

I made all the files both .txt and .count to 644 and left the directory folders at 755 and still same thing.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #17 - Dec 19th, 2010 at 4:28am
Print Post  
Well, it's basically not finding the page text file.

Why do you have YaBBC.pl in the 'yabb2' folder? What does your file structure look like?

Your Variables/Pages/ folder should be somewhere like this:

cgi-bin/yabb2/Variables/Pages/*.txt
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #18 - Dec 19th, 2010 at 4:31am
Print Post  
My Installed MOds, Custome Pages shows a full list of pages created.

It seems that somehow the YaBB.pl is calling the custompage mod for the name and it may not know how or looking in the wrong path?
Anyway to check this?

cgi-bin/yabb2/YaBB.pl?custompage=IPR

  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #19 - Dec 19th, 2010 at 4:33am
Print Post  
Derek Barnstorm wrote on Dec 19th, 2010 at 4:28am:
cgi-bin/yabb2/Variables/Pages/*.txt  



Yes, it looks like that.  I also have on in the sources folder.  So looks like maybe a duplicate.  I'll rename it to YaBBC.pl.old and see if anything breaks.

Edit:  Nope, everything is fine.  Removed file. Maybe inadvertantly got copied their.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #20 - Dec 19th, 2010 at 4:38am
Print Post  
Roderunner wrote on Dec 19th, 2010 at 4:31am:
Anyway to check this?

cgi-bin/yabb2/YaBB.pl?custompage=IPR

Well, it should be here:

cgi-bin/yabb2/Variables/Pages/IPR.txt
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #21 - Dec 19th, 2010 at 4:43am
Print Post  
Sorry, I'm absolutely baffled.

Looking at your errors again though, why is your cg-bin in your public_html directory? Is this how the rest of it is set up?

Quote:
/public_html/cgi-bin

By any chance have you got two cgi-bin's? One in the correct place and one in your root directory?
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #22 - Dec 19th, 2010 at 4:45am
Print Post  
yes,

but the error message show's that it is try to access public_html\cgi-bin\yabb2\Variables\Pages
But should be looking to
www\cgi-bin\yabb2\Variables\Pages

root
 public_html
    yabb2
    etc...  etc...
 www
     yabb2
      etc... etc...

my site points to www, but custompage points to public_html

I'm wondering is maybe pre 2.4 had custompage installed to public_html and when the prevoius web guy updated,  changed to www as this was also a change to a new hosting company at the same time.

For the last year,  al updates and changes have been thru www as that is where siteground points to from the internet, not public_html,  this has sat unused and not updated except for yabb mods just incase.
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #23 - Dec 19th, 2010 at 4:47am
Print Post  
Derek Barnstorm wrote on Dec 19th, 2010 at 4:43am:
By any chance have you got two cgi-bin's? One in the correct place and one in your root directory? 



Yes I do, one in

root
   public_html
     cgi-bin

and one in

root
   www
     cgi-bin
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #24 - Dec 19th, 2010 at 4:48am
Print Post  
Are your 'paths' set up correctly? - Admin Center => Path Settings...
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #25 - Dec 19th, 2010 at 4:57am
Print Post  
I think we are onto something here.

The very top of paths states
/home/mydonaib/public_html/cgi-bin/yabb2/

All the full paths listed the same.  I changed the public_html tp www

Forum is still up and running.

but after I updated all the editable paths,  the default uneditable path at the top stil says.
/home/mydomain/public_html/cgi-bin/yabb2/

Any idea where I cange change the main top path?
« Last Edit: Dec 20th, 2010 at 2:18am by Roderunner »  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #26 - Dec 19th, 2010 at 5:02am
Print Post  
Roderunner wrote on Dec 19th, 2010 at 4:57am:
the default uneditable path at the top stil says.
/home/nwforddi/public_html/cgi-bin/yabb2/

This is the path that you need to use...
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #27 - Dec 19th, 2010 at 5:02am
Print Post  
all the other paths between board dir and variables are ./path
./Admin
./Boards

etc...

SO it looks like these are looking to public_html when it should be www.
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #28 - Dec 19th, 2010 at 5:03am
Print Post  
Derek Barnstorm wrote on Dec 19th, 2010 at 5:02am:
Roderunner wrote on Dec 19th, 2010 at 4:57am:
the default uneditable path at the top stil says.
/home/nwforddi/public_html/cgi-bin/yabb2/
]
This is the path that you need to use...



ANd not
/home/nwforddi/www/cgi-bin/yabb2/
  
Back to top
 
IP Logged
 
Roderunner
New Member
*
Offline


I Love YaBB 2!

Posts: 27
Joined: Dec 18th, 2010
Re: Custom Pages for YaBB 2.5AE - V.0.5.1
Reply #29 - Dec 19th, 2010 at 5:04am
Print Post  
OK,  I'll wait a little later when no one is on the site and test changing the root web dir to public_html from www at the we host side and pray it doesn't break anything.  If it does, I'll have to put it back.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 
Send TopicPrint