| |
| | |

CodersClub

 Forgot password?
 Register
Search
Author: jhoxi
Collapse the left

Upload Avatar->Gifs (I/O error occurred)

[Copy link]
 Author| Post time: 2011-09-24 11:09
| Show all posts
  thanks vot,

 Russia

Post time: 2012-01-31 10:14
| Show all posts
Check this settings:

1) php.ini
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

2) config/config_global.php:
define('UC_CONNECT', 'mysql');                        // UCenter connection method:
define('UC_KEY', 'xxxxxxxxxxxxxxxxxxxxxx');        // UCenter communication key, consistent with the UCenter
define('UC_API', 'http://xxxx.xx/xxx/uc_server/'); // UCenter URL address for connect to
define('UC_IP', '');                        // UCenter IP address. CLEAN THIS VALUE !!!

 Author| Post time: 2012-02-13 06:19
| Show all posts
Editado por jhoxi en 2012-2-13 07:41
vot respondió a las 2012-1-31 11:14
Check this settings:

1) php.ini

1) Maximum allowed size for uploaded files. = 50M

2) on config/config_ucenter.php
I just cleaned the ip, but the problem persists, any other ideas

 Russia

Post time: 2012-02-13 07:32
| Show all posts
solved or not?
 Author| Post time: 2012-02-13 08:29
| Show all posts
No .........

 Russia

Post time: 2012-02-13 08:55
| Show all posts
show this files:
uc_server/data/config.inc.php
config/config_ucenter.php
(REMOVE your real passwords before posting!!!)
 Author| Post time: 2012-02-13 09:27
| Show all posts
config_ucenter:
  1. <?php


  2. define('UC_CONNECT', 'mysql');

  3. define('UC_DBHOST', 'localhost');
  4. define('UC_DBUSER', 'discuz_jhoxi');
  5. define('UC_DBPW', 'xxxxxxxxxx');
  6. define('UC_DBNAME', 'discuz_latino');
  7. define('UC_DBCHARSET', 'utf8');
  8. define('UC_DBTABLEPRE', '`discuz_latino`.pre_ucenter_');
  9. define('UC_DBCONNECT', 0);

  10. define('UC_CHARSET', 'utf-8');
  11. define('UC_KEY', 'bfRbi3B51fvdW513L3N148rcD2K1Dal8ydN2IabfG0G5L92bdet1c0L5z6W71cs6');
  12. define('UC_API', 'http://discuzhispano.com/uc_server');
  13. define('UC_APPID', '1');
  14. define('UC_IP', '');
  15. define('UC_PPP', 20);
  16. ?>
Copy the Code

config.inc.php:
  1. <?php

  2. define('UC_DBHOST', 'localhost');

  3. define('UC_DBUSER', 'discuz_jhoxi');

  4. define('UC_DBPW', 'xxxxxxxxxx');

  5. define('UC_DBNAME', 'discuz_latino');

  6. define('UC_DBCHARSET', 'utf8');

  7. define('UC_DBTABLEPRE', 'pre_ucenter_');

  8. define('UC_COOKIEPATH', '/');

  9. define('UC_COOKIEDOMAIN', '');

  10. define('UC_DBCONNECT', 0);

  11. define('UC_CHARSET', 'utf-8');

  12. define('UC_FOUNDERPW', 'xxxxxxxxxxxxxxxxx');

  13. define('UC_FOUNDERSALT', 'xxxx');

  14. define('UC_KEY', 'Mf3bo3g53fzdX5T3T3G1d8Ucw2T1DaJ8TdJ2BaTfn065l97bPeq1Y0w5j6v74c26');

  15. define('UC_SITEID', '7ffbw3J5HfQdF5h3o3I148scf2t13ax8JdM24acfq0N5a92b1eX1L0C5S6F7oca6');

  16. define('UC_MYKEY', 'qfubb3a51fidh5B303v1Q8dcG2o1eaL8Gd62kavfJ0k5l96bGex1y0r546G70cA6');

  17. define('UC_DEBUG', false);

  18. define('UC_PPP', 20);
Copy the Code

help pls vot

 Russia

Post time: 2012-02-13 10:32
| Show all posts
Compare this lines:
config_ucenter:
define('UC_KEY', 'bfRbi3B51fvdW513L3N148rcD2K1Dal8ydN2IabfG0G5L92bdet1c0L5z6W71cs6');
config.inc.php:
define('UC_KEY', 'Mf3bo3g53fzdX5T3T3G1d8Ucw2T1DaJ8TdJ2BaTfn065l97bPeq1Y0w5j6v74c26');

Set this key in config_ucenter
to the same value used in config.inc.php !!!
 Author| Post time: 2012-02-13 10:58
| Show all posts
vot respondió a las 2012-2-13 11:32
Compare this lines:
config_ucenter:
define('UC_KEY', 'bfRbi3B51fvdW513L3N148rcD2K1Dal8ydN2IabfG0G5L9 ...

I have the same value KEY config.inc.php to config_ucenter.php Now I get the following.
I also tested with the KEY config_ucenter.php to config.inc.php



problem my host?

This post contains more resources

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

x

 Russia

Post time: 2012-02-13 11:16
| Show all posts
I have the same value KEY config.inc.php to config_ucenter.php

Sure? I see that this values are different

Sorry, I have mistyped.

1) Go to your UCenter AdminCP:
-> Applications - Your_DiscuzX -> Edit

2) Copy this setting value:
Connect Key:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
(Only allows to use english letters and numbers, 64 characters limited. You must set the key in application same as this value, otherwise the application will not be able to connect to UCenter.)

3) Open for Edit the config_global.php

4) Insert just copied value to this setting:
define('UC_KEY', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');        // UCenter communication key, consistent with the UCenter




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-11-22 11:08 GMT+3 , Processed in 0.084761 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