speedfire87 Posted July 20, 2015 Posted July 20, 2015 (edited) config openpayz заполнил правильно но liqpay выдает такую ошибку Warning: mysql_real_escape_string(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/billing/userstats/openpayz/backend/liqpay/index.php on line 107Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/billing/userstats/openpayz/backend/liqpay/index.php on line 107 Notice: Undefined variable: merchant_service in/var/www/billing/userstats/openpayz/backend/liqpay/template.htmlon line 13 Edited July 20, 2015 by speedfire87
oberon85 Posted July 20, 2015 Posted July 20, 2015 Access denied for user 'www-data'@'localhost' (using password: NO) Попробуйте заполнить openpayz/config/mysql.ini
speedfire87 Posted July 20, 2015 Author Posted July 20, 2015 (edited) Access denied for user 'www-data'@'localhost' (using password: NO) Попробуйте заполнить openpayz/config/mysql.ini в том то и дело что заполнил, но результат тот же, я и сам удивлен. ;database host server = "localhost" ;database port port = "3306" ;user login username = "root" ;user password password = "**********" ;database name to use db = "stg" ;connection codepage character = "UTF8" ;tables prefix prefix = "op_" Edited July 20, 2015 by speedfire87
oberon85 Posted July 20, 2015 Posted July 20, 2015 в том то и дело что заполнил, но результат тот же, я и сам удивлен. ок, а что с путями? Кстати а зачем запихивать openpayz, аж в userstats/?
speedfire87 Posted July 20, 2015 Author Posted July 20, 2015 в том то и дело что заполнил, но результат тот же, я и сам удивлен. ок, а что с путями? Кстати а зачем запихивать openpayz, аж в userstats/? с путями все ок папка openpayz целостна.
oberon85 Posted July 20, 2015 Posted July 20, 2015 Ну с путями, кажется, не все ок, потому что не читается ни параметры подключения к базе, ни переменные Undefined variable: merchant_service Попробуйте сделать по http://wiki.ubilling.net.ua/doku.php?id=openpayz и все же разместил бы openpayz по человечески согласно рекомендациям.
speedfire87 Posted July 20, 2015 Author Posted July 20, 2015 перенес /var/www/openpayz/ но результат тот же
speedfire87 Posted July 20, 2015 Author Posted July 20, 2015 (edited) Херовый путь в userstats.ini. он бы тогда вообще не открылся перенес /var/www/openpayz/ но результат тот же Edited July 20, 2015 by speedfire87
nightfly Posted July 20, 2015 Posted July 20, 2015 перенес /var/www/openpayz/ но результат тот же Еще раз повторюсь - херовый путь к бекенду в userstats.ini Notice: Undefined variable: merchant_service in/var/www/billing/userstats/openpayz/backend/liqpay/template.htmlon line 13 Плюс вебсервер, вообще не может прочитать чего там в конфигах, возможно права.
speedfire87 Posted July 20, 2015 Author Posted July 20, 2015 подскажите пожалуйста какой должен быть путь ?
oberon85 Posted July 20, 2015 Posted July 20, 2015 (edited) ну думаю путь должен соответствовать реалиям Edited July 20, 2015 by oberon85
l1ght Posted July 20, 2015 Posted July 20, 2015 может там где ему положено лежать изначально? в корне папки billing?
speedfire87 Posted July 20, 2015 Author Posted July 20, 2015 (edited) ну вот лежит он в корне папки билинг и что тоже самое 192.168.1.1/billing/openpayz/backend/liqpay/?customer_id=168428510 Warning: mysql_real_escape_string(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/billing/openpayz/backend/liqpay/index.php on line 107Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/billing/openpayz/backend/liqpay/index.php on line 107 вот права chmod 777 -R /var/www/billing/openpayz/* Edited July 20, 2015 by speedfire87
oberon85 Posted July 20, 2015 Posted July 20, 2015 ну вот лежит он в корне папки билинг и что тоже самое 192.168.1.1/billing/openpayz/backend/liqpay/?customer_id=168428510 Warning: mysql_real_escape_string(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/billing/openpayz/backend/liqpay/index.php on line 107 Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/billing/openpayz/backend/liqpay/index.php on line 107 вот права chmod 777 -R /var/www/billing/openpayz/* покажите значения OPENPAYZ_URL= в /userstats/config/userstats.ini
speedfire87 Posted July 20, 2015 Author Posted July 20, 2015 ну вот лежит он в корне папки билинг и что тоже самое 192.168.1.1/billing/openpayz/backend/liqpay/?customer_id=168428510 Warning: mysql_real_escape_string(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/billing/openpayz/backend/liqpay/index.php on line 107 Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/billing/openpayz/backend/liqpay/index.php on line 107 вот права chmod 777 -R /var/www/billing/openpayz/* покажите значения OPENPAYZ_URL= в /userstats/config/userstats.ini ;OpenPayz support OPENPAYZ_ENABLED=1 ;OpenPayz backend URL OPENPAYZ_URL=../openpayz/backend/ ;OpenPayz systems (delimiter ",") OPENPAYZ_PAYSYS=ipay,uniteller,24money,copayco,liqpay,easypay,portmone ;fetch payment ID from op_customers OPENPAYZ_REALID=1
skybetik Posted July 20, 2015 Posted July 20, 2015 (edited) ну вот лежит он в корне папки билинг и что тоже самое 192.168.1.1/billing/openpayz/backend/liqpay/?customer_id=168428510 Warning: mysql_real_escape_string(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/billing/openpayz/backend/liqpay/index.php on line 107 Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/billing/openpayz/backend/liqpay/index.php on line 107 вот права chmod 777 -R /var/www/billing/openpayz/* покажите значения OPENPAYZ_URL= в /userstats/config/userstats.ini ;OpenPayz support OPENPAYZ_ENABLED=1 ;OpenPayz backend URL OPENPAYZ_URL=../openpayz/backend/ ;OpenPayz systems (delimiter ",") OPENPAYZ_PAYSYS=ipay,uniteller,24money,copayco,liqpay,easypay,portmone ;fetch payment ID from op_customers OPENPAYZ_REALID=1 using password: NO вам написали у вас не совпадает или логин или пасс проверьте у вас в билинге 192.168.1.1/billing/?module=sysconf Настройки БД и права проверьте на файлик /openpayz/config /mysql.ini может переносили по фтп и права хе какие Edited July 20, 2015 by skybetik
oberon85 Posted July 20, 2015 Posted July 20, 2015 ну вот лежит он в корне папки билинг и что тоже самое 192.168.1.1/billing/openpayz/backend/liqpay/?customer_id=168428510 Warning: mysql_real_escape_string(): Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/billing/openpayz/backend/liqpay/index.php on line 107 Warning: mysql_real_escape_string(): A link to the server could not be established in /var/www/billing/openpayz/backend/liqpay/index.php on line 107 вот права chmod 777 -R /var/www/billing/openpayz/* покажите значения OPENPAYZ_URL= в /userstats/config/userstats.ini ;OpenPayz support OPENPAYZ_ENABLED=1 ;OpenPayz backend URL OPENPAYZ_URL=../openpayz/backend/ ;OpenPayz systems (delimiter ",") OPENPAYZ_PAYSYS=ipay,uniteller,24money,copayco,liqpay,easypay,portmone ;fetch payment ID from op_customers OPENPAYZ_REALID=1 Я для openpayz поднял отдельный vhosts и обращаюсь к нему по url
speedfire87 Posted July 20, 2015 Author Posted July 20, 2015 По поводу прав да бы отсеять все сомнения - chmod 777 -R /var/www/billing/ /openpayz/config/mysql.ini - заполнен правильно
skybetik Posted July 20, 2015 Posted July 20, 2015 (edited) ок а покажите вывод SHOW TABLES; 192.168.1.1/billing/?module=sqlconsole Отображение результата в табличном виде ставим галочку и туда команду SHOW TABLES; есть там Tables_in_stg op_customers Tables_in_stg op_transactions Edited July 20, 2015 by skybetik
speedfire87 Posted July 20, 2015 Author Posted July 20, 2015 (edited) ок а покажите вывод SHOW TABLES; 192.168.1.1/billing/?module=sqlconsole Отображение результата в табличном виде ставим галочку и туда команду SHOW TABLES; Tables_in_stg_all adcomments Tables_in_stg_all address Tables_in_stg_all admins Tables_in_stg_all ahenassign Tables_in_stg_all ahenassignstrict Tables_in_stg_all apt Tables_in_stg_all bankstaparsed Tables_in_stg_all bankstaraw Tables_in_stg_all build Tables_in_stg_all buildpassport Tables_in_stg_all capab Tables_in_stg_all capabstates Tables_in_stg_all capdata Tables_in_stg_all cardbank Tables_in_stg_all cardbrute Tables_in_stg_all cashtype Tables_in_stg_all catv_activity Tables_in_stg_all catv_bankstaparsed Tables_in_stg_all catv_bankstaraw Tables_in_stg_all catv_decoders Tables_in_stg_all catv_fees Tables_in_stg_all catv_payments Tables_in_stg_all catv_paymentscorr Tables_in_stg_all catv_signups Tables_in_stg_all catv_tariffs Tables_in_stg_all catv_users Tables_in_stg_all cfitems Tables_in_stg_all cftypes Tables_in_stg_all city Tables_in_stg_all condet Tables_in_stg_all contractdates Tables_in_stg_all contracts Tables_in_stg_all contrahens Tables_in_stg_all cpe Tables_in_stg_all cpetypes Tables_in_stg_all cudiscounts Tables_in_stg_all custmaps Tables_in_stg_all custmapsitems Tables_in_stg_all deathtime Tables_in_stg_all detailstat_06_2015 Tables_in_stg_all detailstat_07_2015 Tables_in_stg_all dhcp Tables_in_stg_all directions Tables_in_stg_all docxdocuments Tables_in_stg_all docxtemplates Tables_in_stg_all dshape_time Tables_in_stg_all emails Tables_in_stg_all employee Tables_in_stg_all genocide Tables_in_stg_all jobs Tables_in_stg_all jobtypes Tables_in_stg_all logs_05_2015 Tables_in_stg_all logs_06_2015 Tables_in_stg_all logs_07_2015 Tables_in_stg_all lousytariffs Tables_in_stg_all messages Tables_in_stg_all modem_templates Tables_in_stg_all modems Tables_in_stg_all mtnasifaces Tables_in_stg_all nas Tables_in_stg_all nastemplates Tables_in_stg_all netextips Tables_in_stg_all netextpools Tables_in_stg_all nethosts Tables_in_stg_all networks Tables_in_stg_all notes Tables_in_stg_all op_customers Tables_in_stg_all op_transactions Tables_in_stg_all passportdata Tables_in_stg_all payments Tables_in_stg_all paymentscorr Tables_in_stg_all phones Tables_in_stg_all photostorage Tables_in_stg_all poller_output Tables_in_stg_all pononu Tables_in_stg_all radattr Tables_in_stg_all realname Tables_in_stg_all services Tables_in_stg_all servtariff Tables_in_stg_all sigreq Tables_in_stg_all sigreqconf Tables_in_stg_all speeds Tables_in_stg_all stat Tables_in_stg_all stickynotes Tables_in_stg_all street Tables_in_stg_all switch_login Tables_in_stg_all switchdeadlog Tables_in_stg_all switches Tables_in_stg_all switchmodels Tables_in_stg_all switchportassign Tables_in_stg_all tags Tables_in_stg_all tagtypes Tables_in_stg_all tariffs Tables_in_stg_all taskman Tables_in_stg_all ticketing Tables_in_stg_all ub_im Tables_in_stg_all ubstats Tables_in_stg_all ubstorage Tables_in_stg_all uhw_brute Tables_in_stg_all uhw_log Tables_in_stg_all ukv_banksta Tables_in_stg_all ukv_fees Tables_in_stg_all ukv_payments Tables_in_stg_all ukv_tariffs Tables_in_stg_all ukv_users Tables_in_stg_all userreg Tables_in_stg_all users Tables_in_stg_all userspeeds Tables_in_stg_all vcash Tables_in_stg_all vcashlog Tables_in_stg_all vlan_pools Tables_in_stg_all vlan_terminators Tables_in_stg_all vlanhosts Tables_in_stg_all vlanhosts_qinq Tables_in_stg_all vservices Tables_in_stg_all watchdog Tables_in_stg_all weblogs Tables_in_stg_all zbsannouncements Tables_in_stg_all zbssclog Edited July 20, 2015 by speedfire87
nightfly Posted July 20, 2015 Posted July 20, 2015 подскажите пожалуйста какой должен быть путь ? Включаем логику, раз там URL - значит в вашем случае http://host/openpayz/backend/если вы грозились, что перетащили его в /var/www/ или где там htdocs root на этих ваших лялихах. может там где ему положено лежать изначально? в корне папки billing? Книжка пишет, что на уровень выше, чтобы его не зацепило недайбог апдейтами. вот права chmod 777 -R /var/www/billing/openpayz/* ага, переносили в /var/www очевидно один, строите и пытаетесь использовать какой-то другой.. Ок. Access denied for user 'www-data'@'localhost' Ну и? Ни о чем не говорит? А да... можно было сделать просто по инструкции. Но кому это надо, правда?
speedfire87 Posted July 20, 2015 Author Posted July 20, 2015 (edited) подскажите пожалуйста какой должен быть путь ? Включаем логику, раз там URL - значит в вашем случае http://host/openpayz/backend/если вы грозились, что перетащили его в /var/www/ или где там htdocs root на этих ваших лялихах. может там где ему положено лежать изначально? в корне папки billing? Книжка пишет, что на уровень выше, чтобы его не зацепило недайбог апдейтами. вот права chmod 777 -R /var/www/billing/openpayz/* ага, переносили в /var/www очевидно один, строите и пытаетесь использовать какой-то другой.. Ок. Access denied for user 'www-data'@'localhost' Ну и? Ни о чем не говорит? А да... можно было сделать просто по инструкции. Но кому это надо, правда? делал исключительно по инструкции http://wiki.ubilling.net.ua/doku.php?id=openpayz итог на скриншотах Edited July 20, 2015 by speedfire87
speedfire87 Posted July 21, 2015 Author Posted July 21, 2015 (edited) у меня к вам вопрос ) почему db = "stg_all" db = "stg_all" так исторически сложилось но название правильное Edited July 21, 2015 by speedfire87
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now