PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs From 1.0.0 (http://www.photopost.com/forum/bugs-1-0-0/)
-   -   "clientscript" Path (http://www.photopost.com/forum/bugs-1-0-0/117491-clientscript-path.html)

ConqSoft February 7th, 2005 12:51 PM

"clientscript" Path
 
Should Gallery be updating the path to clientscript? I was getting a lot of errors in my logs looking for those .js files under /gallery/clientscript instead of /forums/clientscript.

I've now updated all my templates to include the full path to clientscript to fix it, but I was just wondering if this should be done on-the-fly like the other path replacements.

Brian February 7th, 2005 03:34 PM

Re: "clientscript" Path
 
Unless I've missed one somewhere then it should be replacing clientscript with the full URL. Can you post part of the error log so I can see what files you're having a problem with?

ConqSoft February 7th, 2005 03:38 PM

Re: "clientscript" Path
 
Just looked closer. It seems to only have been vbulletin_md5.js that was showing with the wrong path.

Brian February 7th, 2005 04:06 PM

Re: "clientscript" Path
 
And these were coming from your gallery pages? Which version of the CMPS are you running and does it show any errors from your homepage? The same replace function is used in RC3 of the gallery and 1.0.1 of the CMPS, so there shouldn't be any reason why it would work on one and not the other...

ConqSoft February 7th, 2005 04:18 PM

Re: "clientscript" Path
 
Well, since they had the Gallery path in the error, I assumed that's where they were being generated, since it was trying to access them as a relative path off of my gallery directory.

CMPS is v1.01 now, but I don't remember any errors looking for clientscript off the root. *shrug*

ConqSoft February 7th, 2005 04:21 PM

Re: "clientscript" Path
 
It only calls that .js during login doesn't it? I don't have anything on CMPS that would cause it to go to the vBulletin "not logged in" error screen. Gallery does though, if they try to view a full size image while not logged in.

Brian February 7th, 2005 04:25 PM

Re: "clientscript" Path
 
Ahhh, that would be the problem then. Looks like I never put a replace on the adv_no_permission() function. For anyone else that's having this problem, look in your functions_gallery.php file for this code:

Code:

Content visible to verified customers only.
Replace it with this:
Code:

Content visible to verified customers only.
And that should take care of the problem.


All times are GMT -5. The time now is 04:46 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97