Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Cookies sg cookie optin扩展不抛出名为SGalinski\SgCookieOptin\Hook\LicenceCheckHook的类_Cookies_Typo3_Typo3 Extensions_Typo3 10.x - Fatal编程技术网

Cookies sg cookie optin扩展不抛出名为SGalinski\SgCookieOptin\Hook\LicenceCheckHook的类

Cookies sg cookie optin扩展不抛出名为SGalinski\SgCookieOptin\Hook\LicenceCheckHook的类,cookies,typo3,typo3-extensions,typo3-10.x,Cookies,Typo3,Typo3 Extensions,Typo3 10.x,下载了这个 已将文件复制到服务器,并在ext manager中激活了扩展名。 突然,前端和后端不再工作 根据从PackageStates.php手动删除扩展名 前端正在工作,后端仍然抛出错误 No class named SGalinski\SgCookieOptin\Hook\LicenceCheckHook in /home/sc/wwn/typo3_src-10.4.10/typo3/sysext/core/Classes/Utility/GeneralUtility.php

下载了这个

已将文件复制到服务器,并在ext manager中激活了扩展名。 突然,前端和后端不再工作

根据从PackageStates.php手动删除扩展名

前端正在工作,后端仍然抛出错误

No class named SGalinski\SgCookieOptin\Hook\LicenceCheckHook

    in /home/sc/wwn/typo3_src-10.4.10/typo3/sysext/core/Classes/Utility/GeneralUtility.php line 3340
                        throw new \InvalidArgumentException($errorMsg, 1294585865);
                    }
                } else {
                    $errorMsg = 'No class named ' . $parts[0];
                    throw new \InvalidArgumentException($errorMsg, 1294585866);
                }
            } elseif (function_exists($funcName) && is_callable($funcName)) {
                // It's a function
                $content = call_user_func_array($funcName, [&$params, &$ref]);
我在配置文件中设置了密钥和输出文件夹 后端不再工作后我没有做的事情:

三,。使用“模板”后端模块将名为“Cookie Optin”的静态打字脚本添加到实例中。 打开TYPO3后端的“模板”模块。 转到页面树中的根站点页面。 在顶部的选择栏中选择“信息/修改”。 点击“编辑整个模板记录”按钮。 选择“包括”选项卡。 在名为“包含静态(来自扩展)”的多选框中选择模板“Cookie Optin(sg_Cookie_Optin)” 拯救 4.进入“cookieoptin”后端模块,对其进行配置并保存一次


你知道我该怎么解决吗?atm卡死了。

你安装的安装工具应该还能用。尝试打开
yourdomain.tld/typo3/install.php

要启用安装工具,必须在目录
typo3conf/
中创建文件
enable\u Install\u Tool
。确保该文件没有类似于
.txt
的文件扩展名

然后登录到安装工具,进入Maintenance=>Flush TYPO3和PHP缓存并刷新所有缓存

那么后端应该可以工作了

如果无法访问安装工具,请尝试查找文件夹
var/Cache
。它很可能位于
typo3temp
中。从缓存文件夹中删除所有文件和子文件夹