Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6753423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:09:33+00:00 2026-05-26T13:09:33+00:00

I am getting an error on line 371 which is the last line below

  • 0

I am getting an error on line 371 which is the last line below – basically, I want to override the popup when you click the link REQUEST ADMIN PRIVILEGES here http://www.albumpl.us/gallery/trial/photos

extraTestButtons.append('<a href="mailto:adminplease@albumpl.us">Request Admin Privileges</a> |  | <a href="#">Turn SMART BROWSE (ON)</a> | ' + 
                ' | <a href="#">Purchase prints and other merchandise</a>|| <a href="http://www.albumpl.us/gallery/#{gal_code}/live">Live View</a>')


            extraTestButtons.find('a').click ->
            if $(this).text() == 'Request Admin Privileges'
              return false
            showNotYetAvailableMessage($(this).text())
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:09:33+00:00Added an answer on May 26, 2026 at 1:09 pm

    By cracking open your post (using the edit feature of Stack Overflow), I saw that your second line andextraTestButtons.find line is using tabs where everything below it is using spaces.

    You need to be consistent with your whitespace. Either use tabs everywhere or use spaces everywhere, but once you start mixing, bad things happen. It completely confuses the compiler because your whitespace is “significant”. It would be like having a language that allows { foo() } or [ foo() ] for block specification, but you were to use { foo() ]. The compiler doesn’t know what you mean.

    Oftentimes, the CS compiler will barf on you because it doesn’t make sense. Other times, it makes sense to the compiler but it wasn’t what you wanted. Other times, the result is what you expected but not for the reason you intended.

    Whatever the case, you should use an editor that will let you know of these issues. In my case, I prefer spaces always and I tell my editor to turn my tabs into spaces so that I never use a tab character anywhere in my CS code.

    Everybody’s preferences are different with this, but the one rule is
    solid: Don’t mix your whitespace 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm getting the following error on the line of code below: Syntax error (missing
Visual Studio c++ 2005 I am getting an error on the last line of
I'm getting a compiler error for this line: Collections.sort(terms, new QuerySorter_TFmaxIDF(myInteger)); My customized Comparator
I am getting this error: Data at the root level is invalid. Line 1,
I am getting the following error when I get to the line that invokes
I keep getting an expected identifier error at this line in my code =/
I'm getting an unexpected T_CONCAT_EQUAL error on a line of the following form: $arg1
I'm getting the invalid lvalue error using gcc 3.4.6. The line that invokes the
I'm trying to run the following line: Directions.loadFromWaypoints((Waypoint[])waypoints.toArray(), opts); But I'm getting: 23:41:44.595 [ERROR]
I'm getting the error: Line 49: xml = r.ReadToEnd(); Line 50: Line 51: System.Xml.Linq.XDocument

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.