HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


[RESOLVED] v7.0.1 - PHP WARNING [2] require(.../DropboxConnection.php)

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#70274 (In Topic #14877)
Avatar

Community saint

I'm getting "PHP WARNING [2] require(/home/user/public_html/lastgamer.net/cms/sources_cus
tom/DropboxConnection.php" error.

Also, what is set_coordinates.php used for?


Expand box for full details (note I have masked the co-ordinates) .

Expand: Stack trace Stack trace



Last edit: by temp1024

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#70282
Avatar

Wow, it looks like the developer was either very tired or very drunk when writing that ;).

set_coordinates.php is meant to be a part of the ocusermap addon, but was being distributed in the google_search addon, and for no reason it was referencing the now-defunct Dropbox addon!

We did these in one big go, obviously some wires got crossed there and you only noticed as you happened to have both ocusermap and google_search installed.

The function of this is to store geolocated user coordinates so users do not have to enter them manually into their profiles.

Attachment
» Download: set_coordinates.php (4 Kb, 72 downloads so far)


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#70287
Avatar

Community saint

I thought set_coordinates.php might have been for ocusermap but the reference to Dropbox threw me.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: