PDA

View Full Version : permissions error on upload


pattycake
02-28-2009, 08:47 PM
Brand new installation of VB3.6.12, no products, no addons, etc

Installed photoplog underneath forums directory
forum is in /var/www/html/vb368
photoplog is in /var/www/html/vb368/photoplog
link to photoplog is:
http://173.74.246.29/vb368/photoplog

photoplog config has:
// define('PHOTOPLOG_FWD','/full/path/to/forum');
define('PHOTOPLOG_FWD','/var/www/html/vb368');

Any attempt by me (admin with all rights ON) to upload any file of any size results in:

-------------
Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
-----------------

and the link to "inform the admninsitrator" is:
http://173.74.246.29/vb368/photoplog/sendmessage.php
which is obvioulsy wrong

tried cookies at default "/" and tried cookies at "/vb368/"

Any advice or should I just go suck an egg??

.

pattycake
03-01-2009, 01:26 AM
Ok, after a bazillion "ECHO" statements planted throughout photoplog and vb, I am getting closer... or at least I'm close to the problem - it's a cookie problem in vb's init.php:

Content visible to registered users only.

I see it in settings.php:
define('CSRF_PROTECTION',true);

sooooo... besides turning it off, what do I need to add to make the lite version work???



.


.

Morgan
03-04-2009, 02:23 PM
> Your submission could not be processed because a security token was missing or mismatched.

That sounds like vB 3.6.12 now makes use of security tokens, so try the vB 3.7 product-photoplog.xml file instead of the vB 3.6 one.