在WAMPServer环境下调用SpawEditor总报错,不知如何正确设置访问路径
自从将WampServer升级到2.2(Apache 2.4.2; PHP 5.4.3; MySql 5.5.24)后再调用SpawEditor,就总是报错,不知如何解决,求诸位指点。
另:不知如何正确设置SpawEditor访问路径,查了很多资料都查不到。
多谢。
这次遇到的问题是:
回复讨论(解决方案)
SpawVonfig::setStaticConfigItem 不是静态方法
可屏蔽掉 strict 级别错误缓解
请问:如何正确屏蔽掉 strict
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
谢谢!太头痛了,这新的wampserver步步都是坎儿,又来了:
版主能否同时推荐一些学习资料,对初学者,很多问题都查不到
再加一个 & ~E_DEPRECATED
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
你的程序是在 php5.2 中开发的
php5.3 增加了 E_DEPRECATED 级别检查,因为有些函数在以后的版本中不再可用了,比如 ereg、split
php5.3 还增加了 E_STRICT 级别检查,但默认不检查。但在 php5.4 就默认检查了
你最好去下载最新的 SpawEditor
当然也可以自己修改一下程序代码
或许到 php5.5 时,过期函数都不再可用了。所以在以后升级 php 时一定要认真阅读升级说明
多谢!准备结贴
但发现这个spaweditor很不好用,比如现在,在同一页面内本应该有三个字段用到spaw, 只有第一个能在编辑器中显示出来自database的数据,正在查原因
看来问题还存在:
ftp到在其它第三方提供的web host 运行一切正常,可是在本地的wampserver依然是是上图的结果,求指点!谢

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Alipay PHP...

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

Session hijacking can be achieved through the following steps: 1. Obtain the session ID, 2. Use the session ID, 3. Keep the session active. The methods to prevent session hijacking in PHP include: 1. Use the session_regenerate_id() function to regenerate the session ID, 2. Store session data through the database, 3. Ensure that all session data is transmitted through HTTPS.

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

Article discusses essential security features in frameworks to protect against vulnerabilities, including input validation, authentication, and regular updates.
