| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 9198|Reply: 14
Collapse the left

I don't have Ucenter

[Copy link]

 Iran

Post time: 2013-12-02 09:00
| Show all posts |Read mode
Hello;
In the installation process I selected the first choice the NEW ISTALLATION and I follow to the end.
now I don't have ucenter; why?
Should I install something else for that part?



PS: I saw that Discuz has some sister CMS(s) too like:
UCenter and UCHome.
should I install Ucenter to solve the probleem.

----++ UCHome: could I connect it to the discuz? is it an english version available?

 Iran

 Author| Post time: 2013-12-02 09:12
| Show all posts
Also i have No avatar and i can't upload any. is it because ucenter?

 Russia

Post time: 2013-12-02 19:53
| Show all posts
I think your installation is incorrect.
Explain what did you do on installation.

 Iran

 Author| Post time: 2013-12-03 07:06
| Show all posts
Edited by m.hmt at 2013-12-3 08:10

hello VOT;
I get the latest from you bitbucket Repo and then .tart.gz everything in the upload directory (folder) and then upload to my site
then
  1. tar -xzvf file.tar.gz
Copy the Code
then I went to my browser typed the address and automatically i went to installation page.
I follow the instructions ; specified the user and pass and db
and at the end i press on the big green  link and went to my forum.
It was no error what so ever.
I even tried and install the utf-8 simple chinese discuz! 3.1 version and the same problem there also.
No error during that install either and I was redirect to my froum index page after installation was done.

 Russia

Post time: 2013-12-03 11:46
| Show all posts
As I said before, you are doing something wrong...
Post time: 2013-12-03 15:29
| Show all posts
m.hmt 2013-12-3 09:06
hello VOT;
I get the latest from you bitbucket Repo and then .tart.gz everything in the upload direc ...

oh this is a common bug in discuzx......nothing to worry about.
there are 2 things you can try.
1. Re install....download another zip ,upload,extract and install.your problem will be solved.
2.if it still does not .pm me i will help...

 Iran

 Author| Post time: 2013-12-03 20:03
| Show all posts
Just for information :
++In my laptop; I went to the upload folder
++I select all of the folders and file ( in upload folder) and then made a zip file from them.  [ what was inside the upload folder. not upload folder itself ]
++Then i upload the zip file from my laptop to server by filezilla
++I extracted the zip file directly to my htdocs ( my root hosting folder )
++Then in the browser I typed my domain and I redirected to mydomain.dom/install and the rest was as I described .

here is how the htdocs ( or call it public_html ) directory looks like

 Iran

 Author| Post time: 2013-12-04 06:06
| Show all posts
Edited by m.hmt at 2013-12-4 07:19

Hello again;I found out the address to Ucenter is http://SITE/uc_server but when I typed that in to my browser, the address changed to
http://SITE/uc_server/admin.php/uc_server/admin.php?m=user&a=login&iframe=&sid=
basically:
http://SITE/uc_server =======changed to======> http://SITE/uc_server/admin.php/uc_server/admin.php
and you see thr url is not valid so nginx returns 404 not found.

++> As you all know nginx doesn't read ".htaccess" files.
       instead nginx use lines of codes (or derectives) in the host configuration file.
       It is called "rewrite directives".

Any one know what is the rewrite directives for nginx ????
Thanks



 Russia

Post time: 2013-12-04 07:38
| Show all posts
ravipratap95:
oh this is a common bug in discuzx......nothing to worry about.

Why I know nothing about this "common bug"?

m.hmt:
http://SITE/uc_server =======changed to======> http://SITE/uc_server/admin.php/uc_server/admin.php
and you see thr url is not valid so nginx returns 404 not found.

Try to use without Nginx but with a pure Apache.

 Iran

 Author| Post time: 2013-12-04 08:15
| Show all posts
VOT;
It is not a bug;
Every forum has its own set of "rewrite directives" for using it on Nginx http server.

For example; This is the rewrite directive for SMF (Simple Machine Board)
  1. location ~ /forum {
  2.                index index.php index.html;

  3.         if (!-e $request_filename) {

  4.                 # Rules for: profiles
  5.                 rewrite ^/forum/profile/([^/]+)/?$ "/forum/index.php?pretty;action=profile;user=$1" last;

  6.                 # Rules for: actions
  7.                 rewrite ^/forum/(activate|admin|ads|announce|attachapprove|ban|boardrecount|buddy|calendar|clock)/?$ "/forum/index.php?pretty;action=$1" last;
  8.                 rewrite ^/forum/(collapse|convertentities|coppa|credits|deletemsg|detailedversion|display|dlattach|editpoll|editpoll2)/?$ "/forum/index.php?pretty;action=$1" last;
  9.                 rewrite ^/forum/(emailuser|featuresettings|findmember|groups|help|helpadmin|im|jseditor|jsmodify)/?$ "/forum/index.php?pretty;action=$1" last;
  10.                 rewrite ^/forum/(jsoption|lock|lockvoting|login|login2|logout|manageboards|managecalendar|managesearch|manageattachments|maintain|markasread|mascot)/?$ "/forum/index.php?pretty;action=$1" last;
  11.                 rewrite ^/forum/(membergroups|mergetopics|mlist|moderate|modifycat|modifykarma|movetopic|movetopic2|news|notify)/?$ "/forum/index.php?pretty;action=$1" last;
  12.                 rewrite ^/forum/(notifyboard|optimizetables|openidreturn|packages|permissions|pm|post|postsettings|post2|printpage|profile|quotefast)/?$ "/forum/index.php?pretty;action=$1" last;
  13.                 rewrite ^/forum/(quickmod|quickmod2|recent|regcenter|register|register2|reminder|removepoll|removetopic2)/?$ "/forum/index.php?pretty;action=$1" last;
  14.                 rewrite ^/forum/(repairboards|reporttm|requestmembers|restoretopic|reports|search|search2|sendtopic|serversettings|smileys|smstats|suggest)/?$ "/forum/index.php?pretty;action=$1" last;
  15.                 rewrite ^/forum/(spellcheck|splittopics|stats|sticky|theme|trackip|about:mozilla|about:unknown)/?$ "/forum/index.php?pretty;action=$1" last;
  16.                 rewrite ^/forum/(unread|unreadreplies|verificationcode|viewErrorLog|viewmembers|viewprofile|vote|viewquery|viewsmfile|who)/?$ "/forum/index.php?pretty;action=$1" last;
  17.                 rewrite ^/forum/(\.xml|xmlhttp)/?$ "/forum/index.php?pretty;action=$1" last;

  18.                 # Rules for: boards
  19.                 rewrite ^/forum/([-_!~*'()$a-zA-Z0-9]+)/?$ "/forum/index.php?pretty;board=$1.0" last;
  20.                 rewrite ^/forum/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ "/forum/index.php?pretty;board=$1.$2" last;

  21.                 # Rules for: topics
  22.                 rewrite ^/forum/([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ "/forum/index.php?pretty;board=$1;topic=$2.0" last;
  23.                 rewrite ^/forum/([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ "/forum/index.php?pretty;board=$1;topic=$2.$3" last;

  24.                 rewrite ^/(.*)$ /index.php?params=$1 last;
  25.         }
  26.         }
Copy the Code
I am sure the directive for Discuz 3.1 is not that long but still we need those lines to run discuz on Nginx right.

PS: the server that I am hosting my forum only runs on nginx.
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-10-06 06:23 GMT+3 , Processed in 0.095824 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