| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 5101|Reply: 8
Collapse the left

restore function error

[Copy link]
Post time: 2013-02-24 07:09
| Show all posts |Read mode
1.i installed a new x2ml discuz, and then post some articles.
2.backup the whole database in admin panel.
3.upload the restore.php in /data fileholder.
4.run the restore function, give me below responce:
Fatal error: Using $this when not in object context in D:\wamp\www\linkingchina\data\restore.php on line 26

5. upload the lang_restore.php, still get above error.


 Russia

Post time: 2013-02-24 09:46
| Show all posts
Thanx, will check...

 Russia

Post time: 2013-02-24 17:39
| Show all posts
Try this modified restore.php for x2.0ML:

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
 Author| Post time: 2013-02-25 07:19
| Show all posts
vot 发表于 2013-2-24 18:39
Try this modified restore.php for x2.0ML:

tried, get
HTTP ERROR 500(Internal Server Error)
,so i cannot test it. give up.

 Russia

Post time: 2013-02-25 07:31
| Show all posts
HTTP ERROR 500(Internal Server Error)

What the PHP version?
What is written in Apache error_log file about this error?

 Author| Post time: 2013-02-26 17:12
| Show all posts
vot 发表于 2013-2-25 08:31
What the PHP version?
What is written in Apache error_log file about this error?

the server contains:

                      ZendOptimizer-3.3.3
                      mysql-5.1.30
                      php-5.2.17
                      apache_2.2.21

find the error_log as below:

[error] [client 127.0.0.1] PHP Notice:  Undefined index:  fromuid in D:\\phpwamp\\www\\testsite\\index.php on line 120
[Mon Feb 25 00:51:22 2013] [error] [client 127.0.0.1] PHP Notice:  Undefined index:  fromuser in D:\\phpwamp\\www\\testsite\\index.php on line 122

 Russia

Post time: 2013-02-26 20:11
| Show all posts
It is just a notice (not critical), NOT ERROR 500!

P.S.
Show me the link where you have got your discuz...
 Author| Post time: 2013-02-27 08:30
| Show all posts
vot 发表于 2013-2-26 21:11
It is just a notice (not critical), NOT ERROR 500!

P.S.

i use tortoise svn to download from:
http://discuzx-en.googlecode.com/svn/trunk/discuzx2.0ML/

 Russia

Post time: 2013-02-27 09:09
| Show all posts
I can solve a problem with reported notices.
Try to replace the root index.php file:


But I still can not understand the error500 reason.
May be it is because of my PHP version is 5.3+ but your is 5.2.17....

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-07-03 00:54 GMT+3 , Processed in 0.083017 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list