SitePoint Sponsor

User Tag List

Page 2 of 2 FirstFirst 12
Results 26 to 33 of 33
  1. #26
    SitePoint Enthusiast
    Join Date
    Jun 2011
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In this context I would like to ask you few things:
    1. (I may be wrong) I saw that post-minify, the script files appear in the footer (which is what it should be). Meaning along with minification it also places the javascript, jquery files at proper locations. Is it true?
    2. If I just pick the script files, and minify externally, replace the content back to original files. Will it work or break my site? (say, I disable the minify plugin).
    3. Could you explain this "estore plugin is broken in that includes javascript files that don't exist"
    4. Do the scripts of wp-cycle and eStore plugin are similar and hence clash?

  2. #27
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,068
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by coolygreen View Post
    1. (I may be wrong) I saw that post-minify, the script files appear in the footer (which is what it should be). Meaning along with minification it also places the javascript, jquery files at proper locations. Is it true?
    From what I can see the plugin doesn't change when scripts are loaded, only how (i.e. minify and combine first, instead of just putting them in the page)

    Quote Originally Posted by coolygreen View Post
    2. If I just pick the script files, and minify externally, replace the content back to original files. Will it work or break my site? (say, I disable the minify plugin).
    This would work fine, no problem.

    Quote Originally Posted by coolygreen View Post
    3. Could you explain this "estore plugin is broken in that includes javascript files that don't exist"
    4. Do the scripts of wp-cycle and eStore plugin are similar and hence clash?
    The estore plugin is asking WP to load two javascript files that don't exist. So when it tell wordpress to go and load those files, wordpress tells the minify plugin to load the files, but the minify plugin then fails because the files don't exist.
    It's a bit like me asking you to get me something from another room, but what I'm asking for is not in that room, so you can not get it for me.

    So it has nothing to do with the scripts clashing, it's about one script asking something impossible of the other script.
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  3. #28
    SitePoint Enthusiast
    Join Date
    Jun 2011
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the answers. Lastly, I opened the eStore folder and did find the two files, namely jquery.lightbox-0.5.pack.js and eStore_read_form.js there as shown in the page source. Inside they looked like proper files. Could they be broken? (I will need this info to ask the publisher)

  4. #29
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,068
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    Are the filenames exactly wp-content/plugins/estore/lib/jquery.cookie.js and wp-content/plugins/estore/lib/jquery.lightbox-0.5.pack.js ?

    If there is a tiny difference (for example eStore instead of estore) the scripts won't work.

    And it's not that the scripts are broken, the minify script can't find them, so the filenames that are asked for do not exist.
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  5. #30
    SitePoint Enthusiast
    Join Date
    Jun 2011
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe the filenames match. Is there some sort of Path statement in websites/servers like we have in DOS?

    I ask this because I need all, eStore, Wp-cycle and automatic minification. (I will hate using external site for minification)
    Attached Images Attached Images

  6. #31
    Utopia, Inc. silver trophy
    ScallioXTX's Avatar
    Join Date
    Aug 2008
    Location
    The Netherlands
    Posts
    9,068
    Mentioned
    153 Post(s)
    Tagged
    2 Thread(s)
    Okay, I just checked, and the following files do ~not~ exist on your website

    1) wp-content/plugins/estore/lib/jquery.cookie.js
    2) content/plugins/estore/lib/jquery.lightbox-0.5.pack.js

    The following files ~do~ exist

    1) wp-content/plugins/eStore/lib/jquery.cookie.js
    2) content/plugins/eStore/lib/jquery.lightbox-0.5.pack.js

    You appear to be hosting on *nix (unix or linux) and that is case sensitive, so estore (lower case "s") is ~not~ the same as eStore (upper case "S") !

    So the eStore plugin is referencing the wrong files (probably developed on windows, which is not case sensitive, so this problem doesn't occur there).
    Rémon - Hosting Advisor

    SitePoint forums will switch to Discourse soon! Make sure you're ready for it!

    Minimal Bookmarks Tree
    My Google Chrome extension: browsing bookmarks made easy

  7. #32
    SitePoint Enthusiast
    Join Date
    Jun 2011
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The files in page source shows the capital S, in eStore, which is what exists on the server.

    You mean to say that capital S is not allowed? Should I change them to lowercase?
    Attached Images Attached Images

  8. #33
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,154
    Mentioned
    190 Post(s)
    Tagged
    2 Thread(s)
    It's allowed. Just make sure that what ever you decide on that the case is the same everywhere the name is. (files, db, config?)

    If the script files are all lowercase it might be easier to change the file names than to the hack files.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •