PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Admin Move / Delete (http://www.photopost.com/forum/photopost-pro-bug-reports/138827-admin-move-delete.html)

cherrycola January 2nd, 2009 02:37 PM

Admin Move / Delete
 
returns javascript error - wont work! :(

Also, upload from URL doesnt seem to be working either...

Chuck S January 2nd, 2009 07:07 PM

What is the url and a login to the gallery I am not seeing any issues with that function. One thing do you run any custom java on your pages that may be interferring?

Upload from url requires the full url to a page including the html pages name and that page must be using img tags in the html to grab the image and in most all cases full urls.

cherrycola January 2nd, 2009 07:40 PM

Page is private eg not yet released to the public yet ...

There is no custom scripting - further by the look of it (several others experiencing exact same issue) this is a BUG with the latest version of photopost. if you dont see it, then I would question whether or not you are running the exact same version of photopost and/or the latest vbulletin. I have a brand new fresh install of both vbulletin and photopost - nothing else going on.

I checked in FF and move/delete doesnt work in that browser either...

Most of the controls will work - though they all do return a javascript error ... so its something with the SendInfoReq scripting ...

Here is the scripting thats being used ....

Quote:

function sendInfoReq(what,photo) {
req.open('get', xxxxxxxxx/showframe.php?action='+what+'&photo='+photo);
req.onreadystatechange = handleResponse;
req.send(null);

}
Most of the others go like action=cal / action=feature / etc I am wondering if that scripting should say action=info and something else - beats me ... but I have a good hunch...

Chuck S January 2nd, 2009 07:43 PM

Our java should have nothing to do with vbulletin but I am using the latest non beta vb and always our latest code. Works fine for me. You can email us a link and login to take a look if its private.

cherrycola January 2nd, 2009 07:52 PM

I am currently looking to find which file has that script in it so that I can add in the bit I have a hunch on ...

Chuck S January 2nd, 2009 07:55 PM

it is simple java in showphoto.php

cherrycola January 2nd, 2009 07:57 PM

Nope, its in pp-inc.php ... going to test it now...

cherrycola January 2nd, 2009 08:11 PM

Nope info=info didnt work, must be something else ...

Anyway - none of the SendInfoReq calls are working without a JS error. Also the SendFeatReq also returns JS error ...

I guess I will have to set up an account for you to see what I am seeing.

cherrycola January 2nd, 2009 08:18 PM

Ok, I completed the contact us form submission with relevant info.... I will wait to hear back from you.

Thanks.

Chuck S January 3rd, 2009 08:31 AM

Main Index - PhotoPost Photo Gallery

I will check it out but you can see our ajax does work right here on our very own site.

cherrycola January 3rd, 2009 10:21 AM

Sorry Chuck, but I could care less if it works on your site - fact is its not working on my site (a brand new clean install).

Chuck S January 3rd, 2009 10:43 AM

I responded to your email lets keep discussion there thanks.

cherrycola January 3rd, 2009 05:14 PM

I just figured out what was going on ...

The JS files were being loaded from the root directory instead of the /js/ directory where they actually were. Not sure if this was something set up when I installed or if its in the photopost php files - Ive had a few drinks so I cant think straight.

If its in the files - thank me for figuring it out for you ;) hahaha maybe even send me some coding royalties for todays headache - LMAO!

Laters!

GO COLTS!

-EDIT

FOUND WHERE ITS AT ...

php-inc ...

Quote:

$javapopup .= "<script type=\"text/javascript\" src=\"{$Globals['maindir']}/tjpzoom.js\"></script>\n
<script type=\"text/javascript\" src=\"{$Globals['maindir']}/instant.js\"></script>";
notice its loading from root and NOT the /js/ .... youre welcome. :) Really I am quite happy to have this one behind me!

cherrycola January 3rd, 2009 05:53 PM

Also ...

Don't forget to move the session start in the uploadphoto.php to the top of that file ... I got that one too ;)

Couple bugs FIXED!

Now I will go try to fix the "Retrieve all images from a URL" BUG since that isnt working either.

Chuck S January 3rd, 2009 07:31 PM

That may be for the zoom true but the sendfeat is defined in pp-inc.php and does not use external java files and the other java files like lightbox are all loaded from the js directory correctly.

In fact the only thing I see not loaded correctly is the zoom script which happens to be a recently reported bug,

cherrycola January 3rd, 2009 08:45 PM

The instant.js was also called incorrectly ... if they dont have anything to do with those Send---Req functions not sure why the lack of those loading would have been causing all of those functions to not work...

Anyway I figured it out now so all is good on that particular front - I just have to find out why send images from a URL isnt working.

--------

Well that didnt solve everything either - the more function does not work. SendPhotoReq ...

---------

In fact that didnt solve anything - none of the features are working again. I guess it was total coincidence that they worked when I added the correct path to those unrelated JS files. CRAZY!!!!!

cherrycola January 4th, 2009 01:43 AM

We're sorry, but the system experienced an unrecoverable error. Please try again later.


WTF?

cherrycola January 4th, 2009 02:03 AM

......................

Chuck S January 4th, 2009 02:43 PM

This would all depend on what changes your making to your site if anything was done above and beyond correcting a js path. That is a mysql error something totally different.

You can turn on debug setting to display errors on and when logged in as admin you should see your error.

tcbworld March 20th, 2010 10:07 AM

I have the same problem: clicking on the admin 'move/delete' link in the foldout menu does nothing. 'Hide Image' and 'Close comments' however do work.


All times are GMT -5. The time now is 10:45 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