|
|
 |
 | HTML translation |  |
Posted: Mon Oct 27, 2003 2:34 am |
|
|
|
As I am sure that folks are going to call the other post to my attention:
Hi Andrew,and thank you for using TheRandomizer.
Your PHP version is older then 4.3.0.
What you'll need to do:
-go to lib\stdlib.php;
-add the following code just before "?>"
function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); }
I am running mysql 3.23.56
Here is the first couple lines of my stdlib.php file:
function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); }
<?
/* stdlib.php (c) 2003 ITWebTeam.net
*
* DO NOT EDIT BELOW |
|
|
|
|
 | Re: HTML translation |  |
Posted: Mon Oct 27, 2003 9:53 am |
|
|
| daniel |
| Addict |
|
 |
| Joined: 19 Sep 2004 |
| Posts: 177 |
|
|
|
 |
 |
 |
|
The problem is simple: you just have to place the code in the place marked with red(between the PHP tags).
| stpromo wrote: | As I am sure that folks are going to call the other post to my attention:
| Code: |
function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); }
|
<? here
/* stdlib.php (c) 2003 ITWebTeam.net
*
* DO NOT EDIT BELOW |
|
|
|
|
|
 | getting there with your help, a little more |  |
Posted: Mon Oct 27, 2003 5:39 pm |
|
|
|
OK, I placed the code INSIDE the coding for the stdlib, and now I am really close, except for a few more details:
on the home page, I still see the following above the graphics and the rest of the page:
function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); }
This seems to be on every page as I move around in the site
Following links to the contact page, I got a little extra at the top:
function html_entity_decode ($string) { $trans_tbl = get_html_translation_table (HTML_ENTITIES); $trans_tbl = array_flip ($trans_tbl); return strtr ($string, $trans_tbl); }
Warning: Cannot send session cache limiter - headers already sent (output started at /home/httpd/vhosts/netwoozy.com/httpdocs/lib/stdlib.php:3) in /home/httpd/vhosts/netwoozy.com/httpdocs/config.php on line 143
So I must not have something quite right somewhere.
Also, cannot login using the info Daniel has in the readme file to the admin/index.php. Getting an error there. Suggestions on how I enter that part to complete the process?
I really want to thank everyone for their assistance, and I hope that by following my struggle, you were saved a little frustration getting your own site ready for launch.
Thanks. |
|
|
|
|
 | Netwoozy |  |
Posted: Mon Oct 27, 2003 6:34 pm |
|
|
| daniel |
| Addict |
|
 |
| Joined: 19 Sep 2004 |
| Posts: 177 |
|
|
|
 |
 |
 |
|
I think the script doesn't "like" your host very much
I setup an hosting account for you now,until I will find a fix.
the user/pass is the same-it's just that this one is cpanel based.
the url is http://server.serverhost6.com/~netwoozy/
Best regards,
Daniel |
|
|
|
|
 | what I need to host the script |  |
Posted: Wed Oct 29, 2003 1:41 pm |
|
|
|
Daniel,
Can you give me an idea of what I need to host the script?
php version? mysql database? anything else?
Perhaps there is someone offering free hosting without banners where I can move the site? Suggestions?
I see the site is up and running where you put it, and I changed the admin user name and password to those I originally gave you for installation, but of course, it would be better to have it where netwoozy is truly being hosted.
the main pages on the real site do appear to be without the HTML error at the top, but I still can not enter the admin area to edit anything, so the traffic the site gets has no value at the moment  |
|
|
|
|
 | Hosting |  |
Posted: Wed Oct 29, 2003 2:48 pm |
|
|
| daniel |
| Addict |
|
 |
| Joined: 19 Sep 2004 |
| Posts: 177 |
|
|
|
 |
 |
 |
|
I will offer you that hosting account for free until you will earn the money to pay for it with TheRandomizer script
So,all you have to do now is to move your domain name DNS to
- ns1.itwebteam.net
- ns2.itwebteam.net
How is that for an offer?
Regards,
Daniel |
|
|
|
|
 | thanks |  |
Posted: Thu Oct 30, 2003 1:58 pm |
|
|
|
Thanks Daniel,
I will accept that offer
After DNS resolves, I may have questions, or you could shoot a quick email to me to let me know how I access the site with FTP so that I can adjust the site as needed.
Thanks again |
|
|
|
|
Posted: Thu Oct 30, 2003 2:20 pm |
|
|
| g0ldy |
| Visitor |
|
 |
| Joined: 29 Oct 2003 |
| Posts: 10 |
|
|
|
 |
 |
 |
|
hay i want offers  |
|
|
|
|
Posted: Thu Oct 30, 2003 2:43 pm |
|
|
|
g0ldy,
Behave yourself
Shadow |
|
|
|
|
|
|