发新话题
打印

[原创]虚拟主机上安装Mambo核心系统/组件/模块技巧

恩,步骤清晰!完全支持!

TOP

虎翼网的PHP是4.1, 能用吗?

TOP

路过,学习。

TOP

Re: 求助!

引用:
原帖由 rory2004 发表
下载4.5.1后,解压后上传到网上虚拟空间,进入打开index.php 后提示如下:四行代码

Warning: main(/path/to/mambo/install/includes/version.php) [function.main]: failed to open stream: No such file or directory in C:\www\Mambo\includes\mambo.php on line 27

Warning: main() [function.include]: Failed opening '/path/to/mambo/install/includes/version.php' for inclusion (include_path='.;C:\Program Files\PHP Home Edition 2\Apache2\php\') in C:\www\Mambo\includes\mambo.php on line 27

Warning: main(/path/to/mambo/install/includes/database.php) [function.main]: failed to open stream: No such file or directory in C:\www\Mambo\includes\mambo.php on line 29

Fatal error: main() [function.require]: Failed opening required '/path/to/mambo/install/includes/database.php' (include_path='.;C:\Program Files\PHP Home Edition 2\Apache2\php\') in C:\www\Mambo\includes\mambo.php on line 29

请教,是什么原因阿。
后来在本机上调试也出一样的结果
本地环境为  winxp php mysql apache phpmyadmin
网上为    linux php mysql apache phpmyadmin
缺少文件,或者文件权限问题吧!
www.duyao.org

www.zippostore.cn

TOP

我是把服务器上配置好的东西拿到本机,可是无法使用

报如下错误
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



--------------------------------------------------------------------------------

Apache/1.3.33 Server at localhost Port 80
www.duyao.org

www.zippostore.cn

TOP

复制内容到剪贴板
代码:
Warning: main(/path/to/mambo/install/includes/version.php) [function.main]: failed to open stream: No such file or directory in C:\www\Mambo\includes\mambo.php on line 27
仔细瞧瞧,两个路径不符,一个是 /path/to.... ,一个是C:\www\...[/quote]

TOP

引用:
原帖由 underx 发表
我是把服务器上配置好的东西拿到本机,可是无法使用

报如下错误
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



--------------------------------------------------------------------------------

Apache/1.3.33 Server at localhost Port 80
这个才是我的问题阿~~~。我都头大了,不知为啥?!!!!
www.duyao.org

www.zippostore.cn

TOP

[quote="龙的船人"]为什么我上传模块都错误呢?上载xml文件也不行,上载压缩包也不行 ops:[/quote]

你问题解决了吗?我也有着问题~好像和两边mysql服务器版本不同引起的。
www.duyao.org

www.zippostore.cn

TOP

引用:
原帖由 underx 发表
引用:
原帖由 underx 发表
我是把服务器上配置好的东西拿到本机,可是无法使用

报如下错误
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



--------------------------------------------------------------------------------

Apache/1.3.33 Server at localhost Port 80
这个才是我的问题阿~~~。我都头大了,不知为啥?!!!!
搞定了~~是多了个文件,".htaccess"

这个文件是干吗的
www.duyao.org

www.zippostore.cn

TOP

问题,我怎么转移完了原来中文的地方全是“?”阿?

问题,我怎么转移完了原来中文的地方全是“?”阿?
www.duyao.org

www.zippostore.cn

TOP

我申请的51.net的空间,不过他们的php版本低,是不是按楼主的方法也无法正常运行呢?

TOP

Re: 虚拟主机上安装Mambo核心系统/组件/模块技巧

你少说了一样,安装好的MAMBO,上传到服务器后,需要把cache目录设成所有用户可读写的,不然,缓存无法使用,速度慢。

    此外,configuration.php、留言板配置文件等等也要改成所有用户可读写,不然改配置的时候,参数写不进去。
引用:
原帖由 lang3 发表
虚拟主机大都限制了很多php配置,难以或根本不能直接安装Mambo系统。鉴于很多会员都遇到这个问题,本人总结以下几个步骤,以供参考:

1、在本机配置apache/php/mysql环境。(我的系统配置是win2000/apache2.0.50/php4.3.6/mysql4.0.17)
2、在本机安装Mambo及常用组件/模块(本机安装应该没问题了吧)
3、配置主机和常用菜单
4、删除一些没用的文章,这样数据库干净多了
5、通过管理后台或phpMyAdmin备份数据库
6、在服务器上导入数据库
7、然后把Mambo安装目录全部上传到服务器
8、修改配置文件configuration.php
  $mosConfig_absolute_path=服务器绝对路径
  $mosConfig_live_site=网址
还有数据库参数,如果本地设成与服务器一样的数据库的话,下面就免了:
  $mosConfig_host = 'localhost';
  $mosConfig_user = 'dbuser';
  $mosConfig_password = 'password';
  $mosConfig_db = 'dbname';

这样就完成安装了,在虚拟主机上根本不需要遵照Mambo的安装方法进行。

效率极高,不必每次都从头配置网站。且本地保留了和服务器一样的备份,以后想增加组件/模块,可以先在本地先安装测试,然后再用步骤6、7,就可以了。

看起来好像比较麻烦,开始安装时的确有点麻烦,但安装的同时也备份了整个网站,网站是要经常备份的。以后维护就方便多了,万一网站出现故障或需要移走,只需用步骤6、7、8就可修复/重装,非常方便。

你也可以制作一个通用的安装好的Mambo系统,以后安装网站都不必从头配置网站了。

TOP

怎样在服务器上导入数据库呢???

TOP

导入数据库有2种办法:
1、通过 phpMyAdmin 导入sql文件,仅适合数据量小的数据库。
2、通过 mysql 命令行导入sql文件,适合数据量大的数据库。

TOP

Re: 虚拟主机上安装Mambo核心系统/组件/模块技巧

[quote="小偷公司"]
    此外,configuration.php、留言板配置文件等等也要改成所有用户可读写,不然改配置的时候,参数写不进去。[/quote]

能不能说的更详细一些呢?

TOP

请问lang3,如果将membo连后加的大量内容,从一个虚拟主机转到另外一个虚拟主机,操作手法也应该一样没什么区别吧?

谢谢

TOP

没有区别

TOP

谢谢对我帮助很大   

TOP

来看看我的网站怎么了?
数据库已经导入了但是还是不可以!http://www.duzun.cn
高手来看看!!

TOP

[问题]

我的系统是XP,使用EASYPHP安装MAMBO在本机,请问可以将EASYPHP环境下的MAMBO传到虚拟主机上吗

TOP

发新话题