Home TheRandomizer Forum Index Log in Register FAQ Search
TheRandomizer Forum Index » Installation Help » I do not see an answer for my problem. Requesting help now. Goto page Previous  1, 2
Post new topic  Reply to topic View previous topic :: View next topic 
HTML translation
PostPosted: Mon Oct 27, 2003 2:34 am Reply with quote
stpromo
Guest




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
PostPosted: Mon Oct 27, 2003 9:53 am Reply with quote
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
PostPosted: Mon Oct 27, 2003 5:39 pm Reply with quote
stpromo
Guest




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
PostPosted: Mon Oct 27, 2003 6:34 pm Reply with quote
daniel
Addict
Joined: 19 Sep 2004
Posts: 177




I think the script doesn't "like" your host very much Embarassed
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
PostPosted: Wed Oct 29, 2003 1:41 pm Reply with quote
stpromo
Guest




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. Smile

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 Sad
Hosting
PostPosted: Wed Oct 29, 2003 2:48 pm Reply with quote
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 Very Happy
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? Very Happy
Regards,
Daniel
thanks
PostPosted: Thu Oct 30, 2003 1:58 pm Reply with quote
stpromo
Guest




Thanks Daniel,

I will accept that offer Smile

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
PostPosted: Thu Oct 30, 2003 2:20 pm Reply with quote
g0ldy
Visitor
Joined: 29 Oct 2003
Posts: 10




hay i want offers Razz
PostPosted: Thu Oct 30, 2003 2:43 pm Reply with quote
Guest




g0ldy,

Behave yourself Mad

Smile

Shadow
 I do not see an answer for my problem. Requesting help now. 
 TheRandomizer Forum Index » Installation Help
All times are GMT  
Page 2 of 2  
Goto page Previous  1, 2
  
  
 Post new topic  Reply to topic  


Powered by phpBB© 2001-2006 phpBB Group |Randomizer Script | Web Hosting | phpBB Skin by Vjacheslav Trushkin