Quote:
Originally Posted by A.Chakery
I have an issue with saving a new avatar in vbulletin,
When I upload a new avatar and save it, it gives me this error in the redirection page :
Code:
PHP User Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/user:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in ..../includes/class_dm_userpic.php on line 204
PHP User Warning: fopen() [function.fopen]: Filename cannot be empty in ..../includes/class_image.php on line 333
do you have any idea how to solve it ?
|
It is not vBSSO issue. You just have to configure vBulleitn. To resolve it set
Admin CP -> vBulletin Options -> Server Settings and Optimization Options -> Safe Mode Upload Enabled -> Yes
Then go to
Admin CP -> vBulletin Options -> Server Settings and Optimization Options -> Safe Mode Temporary Directory and set the right path to your tmp folder (ask your hosting administrators if you don't know)
Quote:
Originally Posted by A.Chakery
I also noticed an another issue ... all vbsso url instances have an additional "/" (slash)... for example here is how the logout url looks like (I marked it with red) :
Code:
http://domain.com/forum//vbsso/vbsso.php?a=act&do=logout&d=http%3A%2F%2Fdomain.com%2F&lid=54129ccf8aae47.84842196
|
Go to
Admin CP -> vBulletin Options -> Site Name / URL / Contact Details, find `Forum URL` and remove `/` at the end of the URL
Quote:
Originally Posted by A.Chakery
and my other question is that is it possible to rewrite vbsso urls in wordpress and vbulletin ?
Thank you.
|
Yes. You can do this by adding mod_rewrite rules to .htaccess file.