XF 1.4 Forum erroring out...

bkurkjian

Member
Hello,

I am currently receiving the error message below. When I do pretty much anything on my site, maybe once and a blue moon I'll get it to go to a page/forum without giving me an error; however, any time I click on a forum page, update anything, scroll over my alerts, etc, it gives me an error that my page can no longer be found:

ErrorException: is_readable(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (G:/PleskVhosts//heavenlychristianforums.com\;C:\Windows\Temp\) - library\Zend\Cache\Backend.php:208
Generated By: Unknown Account, Thursday at 9:11 PM


#0 [internal function]: XenForo_Application::handlePhpError(2, 'is_readable(): ...', 'G:\\PleskVhosts\\...', 208, Array)
#1 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\Zend\Cache\Backend.php(208): is_readable('/tmp')
#2 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\Zend\Cache\Backend.php(191): Zend_Cache_Backend->_isGoodTmpDir('/tmp')
#3 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\Zend\Cache\Backend\File.php(123): Zend_Cache_Backend->getTmpDir()
#4 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\Zend\Cache.php(153): Zend_Cache_Backend_File->__construct(Array)
#5 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\Zend\Cache.php(94): Zend_Cache::_makeBackend('file', Array, false, false)
#6 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\XenForo\Application.php(753): Zend_Cache::factory('Core', 'file', Array, Array)
#7 [internal function]: XenForo_Application->loadCache(Object(Zend_Config))
#8 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\XenForo\Application.php(960): call_user_func_array(Array, Array)
#9 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\XenForo\Application.php(991): XenForo_Application->lazyLoad('cache', NULL)
#10 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\XenForo\Application.php(1601): XenForo_Application::get('cache')
#11 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\XenForo\Model.php(146): XenForo_Application::getCache()
#12 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\XenForo\Model\DataRegistry.php(81): XenForo_Model->_getCache(true)
#13 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\XenForo\Dependencies\Abstract.php(147): XenForo_Model_DataRegistry->getMulti(Array)
#14 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\library\XenForo\FrontController.php(127): XenForo_Dependencies_Abstract->preLoadData()
#15 G:\PleskVhosts\heavenlychristianforums.com\httpdocs\index.php(13): XenForo_FrontController->run()
#16 {main}


Thank you,

Brian
 
You should disable the cache you enabled in config.php or configure it to point to a directory that you have permission to read from (rather than having it attempt to identify one).
 
You should disable the cache you enabled in config.php or configure it to point to a directory that you have permission to read from (rather than having it attempt to identify one).

I didn't enable the cache. Is that not the default upon install/upgrade? Could it have been from the upgrade I did to a ******* template? By the way, the problems arose when I installed the ******* template. If I revert back to the default Xenforo style/template, I don't have any issues...or at least I didn't, last time I checked.
 
Paste the contents of your library\config.php, removing any database details such as user and password.

<?php

$config['db']['host'] = 'domain';
$config['db']['port'] = 'port';
$config['db']['username'] = 'un';
$config['db']['password'] = 'pw';
$config['db']['dbname'] = 'dbname';



$config['superAdmins'] = '1';
 
I'm currently browsing your site without issue.

Tooltips and overlays are working, pages are loading, there are no errors in the console.

Is it still throwing errors for you?
 
Yup, still throwing errors. Here's what happened when I hovered over alerts. Then I exit that box and it tells me my page can't be found but when I refresh the page after a couple minutes, it will take me back to my home screen only to error out again if I try and do something else:

upload_2014-10-21_14-47-56.webp
 
Please disable all add-ons via the control panel and confirm whether the issue still occurs.

I just did and spend a few minutes in my forum, posting, clicking on different forums and hovering over inbox, my user name and alerts and all seems to be working just fine with the template disabled and reverted back to the default XenForo template.
 
I have just managed to register a new account (Test) without any problem.

I am currently browsing the site, updating my account details, etc, and unable to reproduce any of the issues you seem to be experiencing.
 
I have just managed to register a new account (Test) without any problem.

I am currently browsing the site, updating my account details, etc, and unable to reproduce any of the issues you seem to be experiencing.

Unfortunately if you stay on the site long enough you will start experiencing it. ******* just confirmed that they were having the same issues on their end, even in the default template. I'm working with my host right now as ******* seems to think it's a server issue. They suggested that I move to a Linux/cPanel. I'm going to have them troubleshoot first to see if it is in fact a server issue and then post an update.
 
If the errors are intermittent and sporadic in nature then that would suggest it is server related.

That's what my host confirmed as well. I'm moving from Plesk to cPanel as suggested. I'll work through that today and post an update when I'm finished. Thank you for the help thus far, you all have been great!
 
Update: I switched to cPanel (Linux) and I've been on my forum all day with no errors. Seems as though Plesk (Windows) doesn't work well at all with XenForo. I'm glad I was able to get this all figured out. Thanks again for the help!
 
Top Bottom