php 7

  1. A

    XF 2.0 Delete thread via php

    Hello, I use a php script in the page addThread.php that looks like this: <?php require('../src/XF.php'); XF::start('../'); $forumId = " " $userId = " " $title = " " $message = " " $forum = \XF::em()->find('XF:Forum', $forumId); $user = \XF::em()->find('XF:User', $userId)...
  2. Mike Hollis

    XF 1.1 Permission error when trying to upload files

    When attempting to upload a file to a post I get the following message data/ and internal_data/ permissions are 0777 currently, but I have also tried 0755 Xenforo root is owned by Apache (recursive) Group Permissions are set to allow Direct Node permissions is set to inherit User Permissions...
  3. Saburov

    After Update to PHP 7 my site doesn't work.

    Yesterday I changed my php version from php 5.4 to 7 for some upload limit situation but after that my web site doesn't open. I have an HTTP ERROR 500 now. How can I fix that? Thanks. http://www.muhasebecafe.com/
  4. Q

    XF 1.5 How can I use APCu and PHP OPcache?

    Hello, installed PHP 7 with Zend OPcache support and APCu as user cache. My question: How can I use APCu? If I add this to my config.php I get an error message (An unexpected error occurred. Please try again later.): $config['cache']['enabled'] = true; $config['cache']['backend'] = 'Apc';
  5. Coop1979

    Why does my site go "unexpected error" when I enable caching?

    This has been plaguing me and I feel like there's a simple solution. I recently upgraded to PHP 7 and since then my cache setttings won't work. At first I thought it was because opcache and memcached weren't properly compiled into my install of PHP7, but I have subsequently rebuilt it and in my...
  6. Live Free

    Upgrading to PHP 7

    I recently upgraded from a legacy VPS to a managed dedicated VPS. I'm trying to optimize my server, but before I go into full-blow optimization mode, I'm doing the basics, like upgrading to PHP 7 from PHP 5.4. Is there anything I need to keep in mind while upgrading to PHP 7? Should I upgrade...
  7. GliX

    Fixed PHP7. Fatal Error: Method XenForo_BbCode_TextWrapper::__toString()

    Error at PHP 7.0. Error Info ErrorException: Fatal Error: Method XenForo_BbCode_TextWrapper::__toString() must not throw an exception -library/XenForo/Template/Abstract.php(265) : eval()'d code:0 Generated By: Unknown Account, 51 minutes ago Stack Trace #0 [internal function]...
  8. Liam W

    Fixed Error Logging incompatibility with PHP 7

    Yes, PHP7 is in Beta, however best to report errors/incompatibilities now rather than wait until it's released :) In PHP 7, many fatal errors are now exceptions and extend the Error class. This can cause another error to occur, because of XenForo's error-catching and logging systems: Error...
  9. Mr. Goodie2Shoes

    Fixed PHP 7 - arrays get concatenated in templates...

    I know PHP 7 is still in beta and this might be an issue with PHP's interpreter rather than XenForo's template compiler but still wanted to post this. Yesterday, I tried out PHP 7 and when I did a master rebuild I saw that all the links that have something like: {xen:link something, ''...
Top