oh oh oh sorry I was really blind
Janusz was right, I had bad configuration on config_db.php
Thank Janusz, you are genius
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Posts by asgare
oh oh oh sorry I was really blind
Janusz was right, I had bad configuration on config_db.php
Thank Janusz, you are genius
Dear Janusz
Thanks for your kind attention.
As far as I know everything is fine, I re-configured "config_db.php" but still the problem persists. Moreover in the same server I have another FA installed and works fine but the second copy of those files with the new data and configured "config_db.php" is not working.
I have access to the main page but I can't log in to the FA. As I set Debug Mode to 1 the above logs belong to the copy FA. But I can't understand them
Still no answer
Here are the logs from Debug Mode:
mysql_set_charset(): Access denied for user 'web1'@'localhost' (using password: NO) در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط15
mysql_set_charset(): A link to the server could not be established در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط15
mysql_connect(): Access denied for user 'c2eai'@'localhost' (using password: YES) در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط28
mysql_select_db() expects parameter 2 to be resource, boolean given در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط29
mysql_real_escape_string(): Access denied for user 'web1'@'localhost' (using password: NO) در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط130
mysql_real_escape_string(): A link to the server could not be established در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط130
mysql_set_charset(): Access denied for user 'web1'@'localhost' (using password: NO) در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط39
mysql_set_charset(): A link to the server could not be established در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط39
mysql_query() expects parameter 2 to be resource, boolean given در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط53
mysql_insert_id() expects parameter 1 to be resource, boolean given در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط56
mysql_errno() expects parameter 1 to be resource, boolean given در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط147
mysql_num_rows() expects parameter 1 to be resource, null given در فایل: /var/www/clients/client2/web1/web/eai/includes/db/connect_db.inc در خط107
Sorry if this topic looks tedious but really couldn't found my answer within past posts.
First of all please do not suggest me to re-install and restore database, because after installation I do lots of works such re-configuring database charset, PO files and etc. …
I am willing to moving my FA to the new Host. I did it but after trying to log in to my account I encountered with the wrong password. According to the Joe guides I changed password in the database like as he wrote it in the past posts “5f4dcc3b5aa765d61d8327deb882cf99” but again it didn't work.
I re-checked “config_db.php” file but couldn't solved from there.
Please let me know if you faced with this issue.
Regards
John
Found the problem but NOT resolved!
As far as I couldn't solved the problem with Ubuntu server I installed Debian server. After hours of configuration I saw that the problem still persists. I commenced by comparing Windows installation files with Debian installed files, at was there that I found the problem.
In Windows installation there was a PHP file beside PO & MO but I couldn't find it in Linux server. First added my needed language without attaching PO&MO files then copied all Windows files including PO & MO & PHP files and finally set default language manually to the "installed_languages.inc" file.
Still I am wondering on what to do with getText to generate a PHP file beside PO & MO
Thanks for global participation
You All are GRATE
Dear tm
I believe on troubleshooting the issue NOT ignoring, but I am going to give up! & conceiving to do it again.
One thing is not digestible to me is that the same language & same charset pre-defined language I can install trough FA but I can't upload it via adding new language. Everything is checked locales, permissions, php version, php.ini configuration and so on.
If I couldn't find an answer within few days I'll start off with Debian server!
Thank you tm
For the matter of certainty and assurance I opened only po file in a virtual Ubuntu desktop environment and compiled with Poedit. Then tried to upload via FA, again it didn't worked. The po file charset is UTF-8 and I set it on po file too.
Even I did one more thing too, installed one default UTF-8 based FA language, then download it to my Ubuntu desktop and tried to upload that, saw again didn't work.
Mr. joe
I really read FA forum thoroughly but didn't find any thing that work on me. This issue might be a very simple things to others but for me that prepared many pre-requirements is too much.
Dear tm
Thanks for your reply, at least you were the one that gave me your best of experience in this matter.
To let you know I have a test Windows lab, before uploading to Ubuntu server I test it many times.
Finally for the sake of mine assurance I installed a sample language which have coincidence with our language (from charset and style view point) trough the FA, then downloaded to my computer. After that I tried to upload same language the I downloaded and see again couldn't upload that. I did this on working languages but didn't work.
I worked on FA for about 5 months, and spend a lot of money. I can't let it go
Still helpless
OK! for more accuracy I update old PO file with new empty file! only one thing remain!
1- can't upload PO & MO file
2- after manually uploading and setting 'installed_languages.inc' file see nothing work! WHY?
Dear Joe & Janusz help please!
locale configured! other languages working well but still I can't upload mine language ... at the time of uploading shows "yellow triangle".
Even I upload manually and set 'installed_languages.inc' as instruction mentioned also set whole directory permissions to 777.
Still I am looking ugly
I installed locale language in Ubuntu server but still no result!!! (
BTW, I regenerate system locals for my needed language. But it didn't work....
I think my requested language might not supported by Ubuntu server
Before mentioning the below problem I’ll let you know that I have been read all of the posts related to ready and new languages and how should I upload it.
After long, long days of struggling hopefully I installed Ubuntu server with host management applications and lots of other applications that can host FA and other CMS’s.
When logging in, can install whatever modules want, except languages. Even when I click to download a new language I see it does (through FTP) but in action there is no new language. I made a new language but every time trying to upload it doesn’t work, I really don’t know what to do else. Even for the sake of certainty I put host permissions on web directory to 777 and see that all downloads through FA working well.
Here is system diagnose logs: Missing system locale: IQ.utf-8,Missing ../lang/rg_IQ/LC_MESSAGES/ rg_IQ.mo translation file. Missing system locale: rg_IQ.utf8
Now I really don’t know what to do? Is there a way to do it programmatically? Because whatever I do it backs to English language.
Please help me to find a solution for that, I have been working on for about 3 months.
Regards'
John
How is it possible to have another editable field in invoice for TAX’S?
It lets customer to wither wish to add TAX to whatever items he/she willing to.
FrontAccounting forum → Posts by asgare
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.