|
|
Joined: Apr 2001
Posts: 5
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 5 |
Whenever I edit cp_lib.cgi and/or ubb_lib.cgi for hacks they always have errors!
Say I edit cp_lib.cgi. When I try to access the CP, it says there's an error in cp_lib.cgi line 1.
When I edit ubb_lib.cgi, and try to access the board, it says there's an error in ubb_lib.cgi line 1.
I'm pretty sure there's a stupid little thing I've missed. I'm new to the world of UBB hacking. If there's anyone who knows what I must do please reply.
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Are you uploading in ASCII? Do you have the correct path tp the perl compiler on your system? Try posting the code that is causing you problems and then we may be able to help.
I can't afford a good signature editor
|
|
|
|
Joined: Apr 2001
Posts: 5
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 5 |
Well, my most recent hack was Dark Templar's Star/Custom Status Hack. Here's what I was supposed to do in cp_lib.cgi: I did all of that and got the error that I mentioned.
|
|
|
|
Joined: Mar 2001
Posts: 9
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 9 |
I added the very same hack to 6.04 m8 it works fine best advice I can give is upload in Ascii and make sure youchmod the files even though your ftp may tell you the permissions are set. I have had errors because I forgot to chmod the files after uploading new hack
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Seems like a pretty straight forward hack, not much places thinks can go wrong. Try doing what was said in the above post, then if al else fails try it again from scratch.
I can't afford a good signature editor
|
|
|
|
Joined: Apr 2001
Posts: 5
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 5 |
It's not just this hack. Whenever I change ANY of those files like I mentioned above I get an error.
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
What text editor are you using?
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Use a real mans editor, its called vi lol
I can't afford a good signature editor
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|