Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Gallery warning


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Servant of the Lord   Crossbones+   -  Reputation: 20933

Posted 03 February 2012 - 04:20 PM

I created a new image gallery, and though it works fine, it gives a warning message.

Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_a03purd5pgp8u4fma902ciail2, O_RDWR) failed: Permission denied (13) in /var/www/gamedev/admin/applications_addon/ips/gallery/modules_public/albums/album.php on line 177

The same warning occurs even when I view someone else's gallery, such as this one.

It's not causing any problem that I can detect, but I figure I'd just tip you off to the warning.

I'm using Google Chrome v16.0.912.77
It's perfectly fine to abbreviate my username to 'Servant' rather than copy+pasting it all the time.
All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.
Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal

[Fly with me on Twitter] [Google+] [My broken website]

[Need web hosting? I personally like A Small Orange]


Sponsor:

#2 Gaiiden   Senior Staff   -  Reputation: 5272

Posted 03 February 2012 - 05:46 PM

hrm, another page-top warning like the one from this thread.

Thanks, keep an eye out for any more and just report them here

Drew Sikora
Executive Producer
GameDev.net


#3 Servant of the Lord   Crossbones+   -  Reputation: 20933

Posted 03 February 2012 - 06:12 PM

Hmm, yea I get a similar warning on the link mentioned in that thread also.

Different message though, since it's a different page/file:
Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_h8npm4fltonj448cr5t812iph6, O_RDWR) failed: Permission denied (13) in /var/www/gamedev/admin/applications_addon/ips/nexus/modules_public/support/new.php on line 34


Thoughts:

Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_h8npm4fltonj448cr5t812iph6, O_RDWR (read/write privileges?)) failed: Permission denied (13) in /var/www/gamedev/admin/applications_addon/ips/nexus/modules_public/support/new.php on line 34

Seems like an addon/plugin was installed into an administrator chunk of the website, or else attempts to write to an admin location, that regular users such as myself can't access.

Since the gallery works, my guess is the only thing that's failing is a note being written to the admin area, letting moderators know a new image was uploaded and to check to make sure it isn't spam.
Since the support request is failing entirely, it's probably because the entire support message is trying to be written to the admin area so moderators can view it.

Both addons need to write to a WriteOnly area (so addons can write to the area, but users can't read it - only moderators), not an Admin area. I'm not a web developer, so I wouldn't know how to go about doing that, unfortunately. Posted Image

Instead of /var/www/gamedev/admin/
It should be installed into an area like: /var/www/gamedev/moderation/

With the 'moderation' area being write-only for users, and readwrite for moderators and staff.
It's perfectly fine to abbreviate my username to 'Servant' rather than copy+pasting it all the time.
All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.
Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal

[Fly with me on Twitter] [Google+] [My broken website]

[Need web hosting? I personally like A Small Orange]


#4 Michael Tanczos   Senior Staff   -  Reputation: 5449

Posted 04 February 2012 - 08:55 AM

fixed




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS