After upgrading to OpenX 2.8.8, I'm getting these errors:
升级到OpenX 2.8.8后,我收到这些错误:
PEAR Error
DB_DataObject Error: autoload:Could not find class DataObjects_Ext_market_assoc_data using class_location value
PEAR Error
DB_DataObject Error: factory could not find class from ext_market_assoc_data
Can you suggest what I can do to resolve these errors or further diagnose the issue? It's on several pages, including pages that display banners -- but not on the live site.
您能否建议我可以采取哪些措施来解决这些错误或进一步诊断问题?它在几个页面上,包括显示横幅的页面 - 但不在现场网站上。
TTFN Travis
TTFN Travis
3 个解决方案
#1
0
This does not look like an error in PEAR or its libraries, but with OpenX. Ask in their support forums.
这看起来不像PEAR或其库中的错误,而是使用OpenX。在他们的支持论坛中询问。
#2
0
I was just having the same issue (as I had had in the past). For the first time ever, though, I just managed to have a smooth upgrade to 2.8.9.
我只是遇到了同样的问题(就像我过去一样)。不过,我有史以来第一次顺利升级到2.8.9。
What I did:
我做了什么:
MAKE SURE TO DO ANY BACKUPS AND TEST-RUN THE PROCESS AND DOUBLE CHECK FOR ANY POSSIBLE ERRORS. USE THESE EXPLANATIONS AT YOUR OWN RISK
请务必做任何备份和测试 - 运行过程并双重检查是否存在任何可能的错误。请自行承担使用这些说明
[!] OpenX requires a file-path to the old installation in order to complete the upgrade (it basically checks the plugins in the old version and then re-installs them in the new version). So you should always upgrade by having a clean/new installation directory, and not replace the current installation with the new openx files.
[!] OpenX需要一个旧安装的文件路径才能完成升级(它基本上检查旧版本中的插件,然后在新版本中重新安装它们)。因此,您应始终通过拥有干净/新安装目录进行升级,而不是使用新的openx文件替换当前安装。
- create new database (openx_new) and give the database user permissions to the new database (don't forget to give access to LOCK TABLEs)
- 创建新数据库(openx_new)并为数据库用户授予对新数据库的权限(不要忘记授予对LOCK TABLE的访问权限)
- dump the current database and load into the new one
- 转储当前数据库并加载到新数据库中
mysqldump -uUSER -pPASSWORD openxdb_old –skip-lock-tables > FILE.sql mysql -uUSER -pPASSWORD openxdb_new < FILE.sql
mysqldump -uUSER -pPASSWORD openxdb_old -skip-lock-tables> FILE.sql mysql -uUSER -pPASSWORD openxdb_new
- unzip the new openx files in, eg, /openx_new
- 解压缩新的openx文件,例如/ openx_new
- copy the configuration file(s) and any banner/image files you may have from the old to the new directory
- 将配置文件和您可能拥有的任何横幅/图像文件从旧目录复制到新目录
- adjust the configuration file in the new directory so it points to the new database created above (openxdb_new)
- 调整新目录中的配置文件,使其指向上面创建的新数据库(openxdb_new)
Here comes the switch:
这是开关:
- flip the directories:
mv /openx /openx_old
andmv /openx_new /openx
; now the new files are in the directory /openx and the old ones in /openx_old. - 翻转目录:mv / openx / openx_old和mv / openx_new / openx;现在新文件位于/ openx目录中,旧文件位于/ openx_old中。
- go to the admin page of openx (eg, http://www.example.org/openx). After logging in, the installation/upgrading process should kick in.
- 转到openx的管理页面(例如,http://www.example.org/openx)。登录后,安装/升级过程应该启动。
- it may ask for some minor changes in the file permissions; fix them.
- 它可能会要求对文件权限进行一些小的更改;解决它们。
- eventually, it will ask for the directory where the previous version was installed; point to the "/openx_old" directory mentioned above. This will cause OpenX to check the plugins and re-install them.
- 最终,它会询问安装以前版本的目录;指向上面提到的“/ openx_old”目录。这将导致OpenX检查插件并重新安装它们。
You're done. Hopefully.
你完成了。希望。
Ref:
参考:
http://www.openxconsultant.com/blog/2010/11/how-to-upgrade-openx-ad-server/
http://www.openxconsultant.com/blog/2010/11/how-to-upgrade-openx-ad-server/
The article offers a way to avoid any downtime, I went ahead with just a few seconds of dowtime and 10 minutes of lost statistics.
这篇文章提供了一种避免任何停机的方法,我只花了几秒钟的下降时间和10分钟的统计数据丢失。
#3
-1
Don’t worry about this problem, I also lacked the same problem, at that time my friend refers to use the openxmods.com plugins, they are different types and also all plugins are develops using latest technologies and development of custom plugins is also possible in openxmods.com. All plugins are easy to install.
不要担心这个问题,我也缺少相同的问题,当时我的朋友指的是使用openxmods.com插件,它们是不同的类型,所有插件都是使用最新技术开发的,也可以开发自定义插件在openxmods.com。所有插件都易于安装。
If you interest to using latest openx ad server choose openxmods.com plugins. I assure that 100% confidentially, and also efficiency.
如果您有兴趣使用最新的openx广告服务器,请选择openxmods.com插件。我保证100%保密,也保证效率。
#1
0
This does not look like an error in PEAR or its libraries, but with OpenX. Ask in their support forums.
这看起来不像PEAR或其库中的错误,而是使用OpenX。在他们的支持论坛中询问。
#2
0
I was just having the same issue (as I had had in the past). For the first time ever, though, I just managed to have a smooth upgrade to 2.8.9.
我只是遇到了同样的问题(就像我过去一样)。不过,我有史以来第一次顺利升级到2.8.9。
What I did:
我做了什么:
MAKE SURE TO DO ANY BACKUPS AND TEST-RUN THE PROCESS AND DOUBLE CHECK FOR ANY POSSIBLE ERRORS. USE THESE EXPLANATIONS AT YOUR OWN RISK
请务必做任何备份和测试 - 运行过程并双重检查是否存在任何可能的错误。请自行承担使用这些说明
[!] OpenX requires a file-path to the old installation in order to complete the upgrade (it basically checks the plugins in the old version and then re-installs them in the new version). So you should always upgrade by having a clean/new installation directory, and not replace the current installation with the new openx files.
[!] OpenX需要一个旧安装的文件路径才能完成升级(它基本上检查旧版本中的插件,然后在新版本中重新安装它们)。因此,您应始终通过拥有干净/新安装目录进行升级,而不是使用新的openx文件替换当前安装。
- create new database (openx_new) and give the database user permissions to the new database (don't forget to give access to LOCK TABLEs)
- 创建新数据库(openx_new)并为数据库用户授予对新数据库的权限(不要忘记授予对LOCK TABLE的访问权限)
- dump the current database and load into the new one
- 转储当前数据库并加载到新数据库中
mysqldump -uUSER -pPASSWORD openxdb_old –skip-lock-tables > FILE.sql mysql -uUSER -pPASSWORD openxdb_new < FILE.sql
mysqldump -uUSER -pPASSWORD openxdb_old -skip-lock-tables> FILE.sql mysql -uUSER -pPASSWORD openxdb_new
- unzip the new openx files in, eg, /openx_new
- 解压缩新的openx文件,例如/ openx_new
- copy the configuration file(s) and any banner/image files you may have from the old to the new directory
- 将配置文件和您可能拥有的任何横幅/图像文件从旧目录复制到新目录
- adjust the configuration file in the new directory so it points to the new database created above (openxdb_new)
- 调整新目录中的配置文件,使其指向上面创建的新数据库(openxdb_new)
Here comes the switch:
这是开关:
- flip the directories:
mv /openx /openx_old
andmv /openx_new /openx
; now the new files are in the directory /openx and the old ones in /openx_old. - 翻转目录:mv / openx / openx_old和mv / openx_new / openx;现在新文件位于/ openx目录中,旧文件位于/ openx_old中。
- go to the admin page of openx (eg, http://www.example.org/openx). After logging in, the installation/upgrading process should kick in.
- 转到openx的管理页面(例如,http://www.example.org/openx)。登录后,安装/升级过程应该启动。
- it may ask for some minor changes in the file permissions; fix them.
- 它可能会要求对文件权限进行一些小的更改;解决它们。
- eventually, it will ask for the directory where the previous version was installed; point to the "/openx_old" directory mentioned above. This will cause OpenX to check the plugins and re-install them.
- 最终,它会询问安装以前版本的目录;指向上面提到的“/ openx_old”目录。这将导致OpenX检查插件并重新安装它们。
You're done. Hopefully.
你完成了。希望。
Ref:
参考:
http://www.openxconsultant.com/blog/2010/11/how-to-upgrade-openx-ad-server/
http://www.openxconsultant.com/blog/2010/11/how-to-upgrade-openx-ad-server/
The article offers a way to avoid any downtime, I went ahead with just a few seconds of dowtime and 10 minutes of lost statistics.
这篇文章提供了一种避免任何停机的方法,我只花了几秒钟的下降时间和10分钟的统计数据丢失。
#3
-1
Don’t worry about this problem, I also lacked the same problem, at that time my friend refers to use the openxmods.com plugins, they are different types and also all plugins are develops using latest technologies and development of custom plugins is also possible in openxmods.com. All plugins are easy to install.
不要担心这个问题,我也缺少相同的问题,当时我的朋友指的是使用openxmods.com插件,它们是不同的类型,所有插件都是使用最新技术开发的,也可以开发自定义插件在openxmods.com。所有插件都易于安装。
If you interest to using latest openx ad server choose openxmods.com plugins. I assure that 100% confidentially, and also efficiency.
如果您有兴趣使用最新的openx广告服务器,请选择openxmods.com插件。我保证100%保密,也保证效率。