Author |
Message |
|
Hi,
THANKS for reply.
I have installed Advanced poll 2.09 on a subdomain http://www.POLL.SolapurPortal.com
Here, I am able to show poll on any page of the website by using the below 2 codes :-
Now,
I have another website http://www.MilindBaug.in which is hosted at other host provider
I want to show poll on http://www.MilindBaug.in
Pls suggest changes to the path, etc for the above code, so that I can successfully show poll on MilindBaug.in too
|
|
|
I too facing same problem in showing poll on other website which is hosted
on different host provider.
I tried changing the path of the poll code from
/home/solapurp/public_html/POLL/poll_cookie.php
http://www.POLL.SolapurPortal.com/poll_cookie.php
but showing this error
Fatal error: Call to a member function set_template_set() on a non-object in
/home/mohanjadhav50/public_html/Milindbag.in/index.php on line 2000
I want to try the method suggested here by Auron (28/02/2005 12:21:02)
Can somebody guide me, in this case, what code should be in the poll.php
Pls somebody with knowledge respond.
|
|
|
Kindly ignore the previous procedure I mentioned at post 19/10/2016 16:27:25
which changes the language to Hindi but gives errors.
I am posting this message, in the hope that it may be helpful to a novice web designer like me.
NEW Procedure which is working absolutely fine without any errors:-
1. Upload the file hindi.php to lang folder.
2. LogIn to admin>general settings> and change the language to hindi & submit changes.
3. Insert the below code in between <head> ..... </head> for files
Demo1-5.php
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
AND
admin>templates>admin_preview.html
<meta http-equiv="Content-Type" content="text/html; charset=$lang[charset]">
THATS ALL. ADVANCED POLL is now configured perfectly to hindi language.
Note :- To understand better, where to insert the code, compare other files in the respective folders.
|
|
|
Hi,
I am excessively getting the following error in error_log file :-
[28-Oct-2016 01:11:06 Asia/Kolkata] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/solapurp/public_html/index.php:1853) in /home/solapurp/public_html/POLL/include/config.inc.php on line 32
Pls help me get rid of this.
|
|
|
Hi Carbonize, The problem is resolved automatically. I guess maybe because of the browser cookies it was not showing graphs and captcha. NOW EVERY THING IS COMPLETELY FINE. THANKS CARBONIZE for the help on this topic. This was the procedure to get the INDIAN LANGUAGE HINDI for Advanced Poll 2.09 :- 1. Upload the file hindi.php to lang folder. chk attachment. 2. LogIn to admin>general settings> and change the language to hindi & submit changes. 3. Insert the below code in poll_cookie.php , include>config.inc.php & admin>common.inc.php <?php // My php code to set utf-8 charset for the web page header('Content-Type: text/html; charset=UTF-8'); mb_internal_encoding('UTF-8'); mb_http_output('UTF-8'); mb_http_input('UTF-8'); mb_regex_encoding('UTF-8'); // My php code to set utf-8 charset for the web page ?> 4. Clear all web browser cookies, etc. Restart PC . ITS DONE.
|
|
|
I got the UTF-8 charset working fine for the entire Advanced Poll by following this procedure :-
Inserted this code :-
<?php
header('Content-Type: text/html; charset=UTF-8');
mb_internal_encoding('UTF-8');
mb_http_output('UTF-8');
mb_http_input('UTF-8');
mb_regex_encoding('UTF-8');
?>
in :-
poll_cookie.php
include>config.inc.php
admin>common.inc.php
-------------------------------------------------------------------------------
But now having a problem, when graphic template selected , graph not showing and also CAPTCHA image not displaying.
Pls help ...
|
|
|
I tried my best but in vain. Pls can you guide me more specific on this.
Just attaching one more extra snapshot which may help. check attachment.
|
|
|
I have installed Hindi Language successfully. I can see Hindi language everywhere displayed correctly in Admin Panel.
But when I see the preview of the templates or created polls, its showing some unknown characters. pls refer attachments.
What to do. pls guide .
(Advanced Poll 2.09)
|
|
|
I too getting same error 1406 but for Advanced Poll v 2.09. pls refer attachment for both the errors. It happens when I input the text in hindi (Indian language) font. If I enter hindi text in question field and submit, I get this error :- Error Number: 1406 Data too long for column 'question' at row 1 & When I enter hindi text in option field and submit, I get this error :- Error Number: 1406 Data too long for column 'option_text' at row 1 pls guide.
|
|
|
Hi carbonize,
I have done the translation of the file english.php as guided above.
The 1st code I had edited as $lang["charset"] = "utf-8";
I have renamed the file to hindi.php (check attachment) and copied the file to the lang folder.
I changed the font from Admin>General Settings>
Its working THANKS Carbonize
Is there anything more I need to do regarding this ?
|
|
|
Thanks Carbonize,
I will start doing it soon. And let you know after that.
|
|
|
Hi,
Can you guide me how to do this translation. I am ready to dedicate my time for doing this. Kindly respond and guide me regarding HINDi font for Advanced Poll script.
|
|
|
Hello everybody,
Is there available, Hindi Language (India) for Advanced Poll 2.09. If yes , where can I get and how to install. Pls respond. Thanks.
|
|
|
Thanks a lot. Atlast I got the poll working. I was messing in the path and the webpage was html.
Thanks Carbonize and the forum champs.
|
|
|
Hello,
I read quite a lot topic in this forum on how to get the poll on website. But I am trying in vain. Pls guide & help somebody. I HAVE A CAKE IN HAND, BUT UNABLE TO EAT. HELPPPPPPPPP........
|
|
|