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

  • Home
  • SEARCH
  • 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 6976493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:30:16+00:00 2026-05-27T17:30:16+00:00

Solved With the amount of information I provided this was unsolvable. A PHP library

  • 0

Solved

With the amount of information I provided this was unsolvable. A PHP library that I’m using was also including jQuery, resulting in double inclusion and prettyPhoto going berzerk.

The problem

This is starting to drive me crazy. I’ve included jQuery 1.7, prettyPhoto 3.1 and my own JS file:

<script src="/files/js/jquery-1.7.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/files/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<script src="/m/js/jzg.js?cache=no" type="text/javascript" charset="utf-8"></script>

No errors appear in the console, unless I try to use prettyPhoto – then I get the $("mySelectorGoesHere").prettyPhoto is not a function error.

In FireBug console jQuery.prettyPhoto and $.prettyPhoto both show up as undefined.

I can inspect the header of the page to see that the script tags show proper content of the included files. The same is seen in the Network tab – files seem to get loaded OK.

I’ve tried appending an alert to jquery.prettyPhoto.js and on page load the alert fires up, but prettyPhoto itself still is undefined.

One more thing I tried was to download the latest versions of prettyPhoto (3.1.3) and jQuery (1.7.1) and replace the ones I was using – to no effect.

What am I missing?

  • 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-27T17:30:17+00:00Added an answer on May 27, 2026 at 5:30 pm

    With the amount of information I provided this was unsolvable. A PHP library that I’m using was also including jQuery, resulting in double inclusion and prettyPhoto going berzerk.

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

Sidebar

Related Questions

Hopefully this is just the right amount of information to help me solve this
This problem is a little similar to that solved by reservoir sampling , but
I solved the problem using this (horribly inefficient method): def createList(word, wordList): #Made a
solved: IstBestellwert = grouped.Sum(o => (double)o.SollMenge * (double)o.Preis) works My SQL Statment SELECT ABId,
@Solved The two subquestions I have created have been solved (yay for splitting this
SOLVED: This is what was wrong: current.addFolder(folder); (in the final else clause of the
I have a massive amount of input data (that's why I use Hadoop) and
I did notice a few related questions to this problem (I also did a
I am relatively new to arrays, and struggling with the amount of information out
I'm currently working on a program (for fun, this is not an assignment) that

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.