We ran into what could potentially be a major bug in smart ip 1.9! Whenever a user log'd into there account there logo image was deleted from the server automatically because it's path broke do to smart ip I originally had no idea what the issue was but after 2 full days of beating my head against my computer and having posted it in the support forums I finally tracked it down...

There were several errors that occurred you can see them listed here (were I originally reported the issue):
http://drupal.org/node/1915732

I have no idea why this happened, hoping someone could tell me because if an admin viewed any other profile account and uploaded a new logo it would stay until that user log'd in! And this happened to all account types including Admin!

I did however stumble across another site that appears to have the same issue on a much greater scale, it is listed in the other post I made in the forums (they had a field do the same, same error we had per image that drop'd wherever that particular would live on a site, but instead of a couple, it looks to be between 3,700 and 4,000 images were automatically deleted) AND YES, once a user log'd in the image would disappear from screen and show broken image icon and seconds later disappear from the server! We watched it happen live via cPanel on our server...

I have a feeling this is going to be a problem for a lot of sites!

If you need additional information regarding the issue please let me know..

Comments

arpeggio’s picture

Status: Active » Postponed (maintainer needs more info)

Following the steps of the issue you have posted at http://drupal.org/node/1915732:

Now here is what is really weird! If your log'd in as an administrator and upload an image to any profile "OTHER" than the administrators account the Logo appears for that account and stays for the time being "BUT" as soon as that particular user logs in they receive an error on log in, then the logo image in there profile disappears and the file is deleted from the server automatically!

  1. Installed fresh Drupal 7.19 and selected standard profile with Bartik as theme.
  2. Logged in as admin.
  3. Installed Smart IP.
  4. Smart IP configured to geolocate anonymous and authenticated users.
  5. Created new image field labelled as "Image" at /admin/config/people/accounts/fields.
  6. Logged out.
  7. Create new account at /user/register with username test.
  8. Logged out.
  9. Logged in as admin.
  10. Went to /user/2/edit (username: test) and uploaded a picture using the "Image" field.
  11. Using other browser, the test user logged in (no any error message encountered).
  12. At admin, went at /user/2 to check the image uploaded (image is still intact, no deletion happened).
  13. Cleared the cache at /admin/config/development/performance.
  14. Went again at /user/2 to check the image uploaded (image is still intact, no deletion happened).

Based on my experiment, it turns out there are no deletion happened at the Image uploaded in user profile.
I would like to ask, to do your own experiment in fresh Drupal 7.19 setup to double check.
Please feel free to open this issue and state the detailed steps (like I did above) if the issue encountered in fresh Drupal 7.19 setup. Thanks.

arpeggio’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
sidgrafix’s picture

Yes, I'm sure on a simple install with nothing else going on it will work just fine, but you didn't even add in the modules that require smart ip like gmaps, weather, etc, etc,
Which we run! So if you would like we are willing to schedule a time to put our site in maintenance mode were we will then update smart ip to 1.9 and give you a regular user account (because it doesn't matter account type) to see what is happening for yourself.

A fresh install of drupal with smart ip would benefit nothing! nothing would be using it... is that thought process wrong?

Do appreciate your attempt at figure it out tho!

arpeggio’s picture

arpeggio’s picture