If You Are Getting An Error, Read Here Before Posting

Having trouble running a script? Are you unable to install PCL? Post here with your problem.

If You Are Getting An Error, Read Here Before Posting

Postby Garetty » Sun Sep 06, 2009 2:43 pm

*** THIS IS NOT A SUPPORT TOPIC ***

Before posting a new topic, try looking for your error here and see if you can fix it.

Code: Select all
PHP Warning:  require([LIBRARY.PHP OR TASKS.PHP]): failed to open stream: No such file or directory in [SCRIPT LOCATION] on line [LINE REQUIRE IS ON]
PHP Fatal error:  require(): Failed opening required '[LIBRARY.PHP OR TASKS.PHP]' (include_path='.;C:\php5\pear') in [SCRIPT LOCATION] on line [LINE REQUIRE IS ON]

Make sure that library.php and tasks.php are in the same folder as the script you are running.
----------

Code: Select all
PHP Parse error:  syntax error, unexpected $end in [SCRIPT LOCATION] on line [SOME LINE]

Make sure you have all the closing curly brackets "}".
----------

Code: Select all
PHP Parse error:  syntax error, unexpected [SOME ; OR SOMETHING] in [SCRIPT LOCATION] on line [SOME LINE]

Check the line above, or a few lines above, the line given in the error and make sure there is a ending sign or whatever it's called. (";", "{", etc.)
----------

That's just a few I found. I think there are more that have been posted in this topic.
Please edit this if you have another or if I have something wrong.

Also, if you have a new error that is not on here, just post a new topic, don't post it in this post.

*** THIS IS NOT A SUPPORT TOPIC ***
Last edited by Garetty on Sat Dec 05, 2009 7:56 pm, edited 2 times in total.
If I helped out, or did something you like, give me points!
I Will Not Help Anybody With Scripts Via PM UNLESS I tell you to PM me for help.
User avatar
Garetty
Trusted User
 
Posts: 433
Joined: Tue Aug 11, 2009 8:42 am
Cash on hand: 6,769.54
Bank: 64,634.15
Location: Missouri, U.S.
Programming Skills: PHP, HTML, CSS.

Re: If You Are Getting An Error, Read Here Before Posting

Postby Adam » Sun Sep 06, 2009 2:46 pm

This is smarrrrt! You get a cookie :P

Image
..::Å∂åm::.. <3 
User avatar
Adam
Forum Administrator
 
Posts: 595
Joined: Mon Jul 27, 2009 6:32 pm
Cash on hand: 1,651.68
Bank: 12,126.98
Location: Ohio, USA
Programming Skills: PHP, HTML, CSS.

Re: If You Are Getting An Error, Read Here Before Posting

Postby Garetty » Sun Sep 06, 2009 2:47 pm

Adam wrote:This is smarrrrt! You get a cookie :P

Image

Why thank you, Adam.

I came up with this idea when I was riding my four wheeler. That's when I came up with the idea for the script that got me script access too. :)
If I helped out, or did something you like, give me points!
I Will Not Help Anybody With Scripts Via PM UNLESS I tell you to PM me for help.
User avatar
Garetty
Trusted User
 
Posts: 433
Joined: Tue Aug 11, 2009 8:42 am
Cash on hand: 6,769.54
Bank: 64,634.15
Location: Missouri, U.S.
Programming Skills: PHP, HTML, CSS.

Re: If You Are Getting An Error, Read Here Before Posting

Postby Adam » Sun Sep 06, 2009 2:48 pm

Bettar idea

STICKY TIEM! zOMG.
..::Å∂åm::.. <3 
User avatar
Adam
Forum Administrator
 
Posts: 595
Joined: Mon Jul 27, 2009 6:32 pm
Cash on hand: 1,651.68
Bank: 12,126.98
Location: Ohio, USA
Programming Skills: PHP, HTML, CSS.

Re: If You Are Getting An Error, Read Here Before Posting

Postby Garetty » Sun Sep 06, 2009 2:53 pm

Adam wrote:Bettar idea

STICKY TIEM! zOMG.

tankz u adm.

i is joyin tis kooky.
If I helped out, or did something you like, give me points!
I Will Not Help Anybody With Scripts Via PM UNLESS I tell you to PM me for help.
User avatar
Garetty
Trusted User
 
Posts: 433
Joined: Tue Aug 11, 2009 8:42 am
Cash on hand: 6,769.54
Bank: 64,634.15
Location: Missouri, U.S.
Programming Skills: PHP, HTML, CSS.

Re: If You Are Getting An Error, Read Here Before Posting

Postby MrYanDao » Sun Sep 06, 2009 8:31 pm

i got this error
Code: Select all
ERROR: Username is too short, use the command line argument "force" to force usage of this username..

any way to fix this?
------------------------------
Click Here For My Scripts
------------------------------
User avatar
MrYanDao
Trusted User
 
Posts: 150
Joined: Sun Jul 26, 2009 5:45 am
Cash on hand: 806.62
Bank: 1,954.00
Programming Skills: PHP

Re: If You Are Getting An Error, Read Here Before Posting

Postby SweetTooth » Sun Sep 06, 2009 8:34 pm

MrYanDao wrote:i got this error
Code: Select all
ERROR: Username is too short, use the command line argument "force" to force usage of this username..

any way to fix this?


What username are you using?
User avatar
SweetTooth
Trusted User
 
Posts: 120
Joined: Sun Jul 26, 2009 5:28 am
Cash on hand: 315.87
Location: My mom's basement
Programming Skills: PHP, HTML

Re: If You Are Getting An Error, Read Here Before Posting

Postby MrYanDao » Sun Sep 06, 2009 8:36 pm

SweetTooth wrote:
MrYanDao wrote:i got this error
Code: Select all
ERROR: Username is too short, use the command line argument "force" to force usage of this username..

any way to fix this?


What username are you using?

Code: Select all
$Bot[1]["Username"] = "comeon8";
$Bot[2]["Username"] = "comeon11";
$Bot[3]["Username"] = "comeon13";
$Bot[4]["Username"] = "comeon15";
$Bot[5]["Username"] = "comeon16";

the usernames are too short?
------------------------------
Click Here For My Scripts
------------------------------
User avatar
MrYanDao
Trusted User
 
Posts: 150
Joined: Sun Jul 26, 2009 5:45 am
Cash on hand: 806.62
Bank: 1,954.00
Programming Skills: PHP

Re: If You Are Getting An Error, Read Here Before Posting

Postby SweetTooth » Sun Sep 06, 2009 8:38 pm

MrYanDao wrote:
SweetTooth wrote:
MrYanDao wrote:i got this error
Code: Select all
ERROR: Username is too short, use the command line argument "force" to force usage of this username..

any way to fix this?


What username are you using?

Code: Select all
$Bot[1]["Username"] = "comeon8";
$Bot[2]["Username"] = "comeon11";
$Bot[3]["Username"] = "comeon13";
$Bot[4]["Username"] = "comeon15";
$Bot[5]["Username"] = "comeon16";

the usernames are too short?

No. You need to be using capital letters for all of them.

Code: Select all
$Bot[1]["Username"] = "Comeon8";
$Bot[2]["Username"] = "Comeon11";
$Bot[3]["Username"] = "Comeon13";
$Bot[4]["Username"] = "Comeon15";
$Bot[5]["Username"] = "Comeon16";
 
User avatar
SweetTooth
Trusted User
 
Posts: 120
Joined: Sun Jul 26, 2009 5:28 am
Cash on hand: 315.87
Location: My mom's basement
Programming Skills: PHP, HTML

Re: If You Are Getting An Error, Read Here Before Posting

Postby Garetty » Sun Sep 06, 2009 8:41 pm

SweetTooth wrote:
MrYanDao wrote:
SweetTooth wrote:
MrYanDao wrote:i got this error
Code: Select all
ERROR: Username is too short, use the command line argument "force" to force usage of this username..

any way to fix this?


What username are you using?

Code: Select all
$Bot[1]["Username"] = "comeon8";
$Bot[2]["Username"] = "comeon11";
$Bot[3]["Username"] = "comeon13";
$Bot[4]["Username"] = "comeon15";
$Bot[5]["Username"] = "comeon16";

the usernames are too short?

No. You need to be using capital letters for all of them.

Code: Select all
$Bot[1]["Username"] = "Comeon8";
$Bot[2]["Username"] = "Comeon11";
$Bot[3]["Username"] = "Comeon13";
$Bot[4]["Username"] = "Comeon15";
$Bot[5]["Username"] = "Comeon16";
 

And make sure that where you have the connect stuff, it has $Bot blah blah blah stuff instead of $Username blah blah blah.
If I helped out, or did something you like, give me points!
I Will Not Help Anybody With Scripts Via PM UNLESS I tell you to PM me for help.
User avatar
Garetty
Trusted User
 
Posts: 433
Joined: Tue Aug 11, 2009 8:42 am
Cash on hand: 6,769.54
Bank: 64,634.15
Location: Missouri, U.S.
Programming Skills: PHP, HTML, CSS.

Next

Return to Help and Support

Who is online

Users browsing this forum: No registered users and 1 guest