Go Back   Web Design & SEO Company > Free Scripts

Free Scripts Free Scripts to add to your website, includes Ajax, Javascript, php, Flash, CSS, HTML and more. No registration is required to download, these scripts are provided free to help you make the most of your website.

Reply
 
Tools Display Modes
  #71  
Old 12-26-2007, 12:57 PM
Unregistered
Guest
 
Posts: n/a
Default

I went into the lib_common file and deleted this:

function date_format($format, $date = 0)

{
//print 'date='.$date;

if (!intval($date))
return '-';
else
if (strpos($date, "0000-00-00") !== false) return "-";

$ts = is_int($date) ? $date : strtotime($date);

return date($format, $ts);
}

That allowed me to get into the admin area and update settings. However, if I try to buy a word as a user, I get a 404 error. Any suggestions?
Edit/Delete Message Reply With Quote
  #72  
Old 12-29-2007, 06:10 AM
Unregistered
Guest
 
Posts: n/a
Default when do u plan on..

when do u plan on getting the script working again?
Edit/Delete Message Reply With Quote
  #73  
Old 12-29-2007, 08:22 AM
Admin Admin is offline
Administrator
 
Join Date: Jan 2007
Posts: 346
Default

In the mean time, try adding this line to the top of your .htaccess file.

Quote:
AddType application/x-httpd-php4 .php
Reply With Quote
  #74  
Old 12-29-2007, 06:49 PM
Unregistered
Guest
 
Posts: n/a
Default styll doesn wrk

still doesnt work

look here :

http://worldcloud.sliceurl.com/
Edit/Delete Message Reply With Quote
  #75  
Old 06-02-2008, 01:48 AM
papote40 papote40 is offline
Junior Member
 
Join Date: Jun 2008
Posts: 1
Default

URL: safelistxl.com
Slogan: SafelistXL Word Cloud !
Color: Red, White & Blue
Image: People Applauding
Reply With Quote
  #76  
Old 07-03-2008, 09:18 PM
Unregistered
Guest
 
Posts: n/a
Default php 5 - .htaccess problem...

I changed the file from:

RewriteEngine On
RewriteRule ^buy/(.*)$ buy.php?word=$1 [L]

to:

AddType application/x-httpd-php4 .php
RewriteEngine On
RewriteRule ^buy/(.*)$ buy.php?word=$1 [L]

but still get the error message. Should it all be on one line?

Thanks - btw, it worked great until hostgator went to php5.
Edit/Delete Message Reply With Quote
  #77  
Old 07-17-2008, 04:23 AM
Unregistered
Guest
 
Posts: n/a
Lightbulb My Word link fix.

HI folks,

I was just browsing on word link and found this forum and noticed others had a problem with this I believe same script. or knockoff of it.

anyway this problem is just like the first response to an error, and since many hosts are upgrading account to php 5 you will find this error.
Fatal error: Cannot redeclare date_format() in /kunden/91431_63450/rp-hosting/113/214/testing/wordcloud/lib/lib_common.php on line 279

you see php4 does have the function date_format() and so does php5 the problem is that now the script is trying to re call the function again.

heres my simple fix , and I've installed the like script on 3 different hosting accounts.

so this just might work for you, and a second note is that all the servers I installed this on were lynx boxes.

OK here goes.

find your "lib" file folder,
inside this folder is a php script named lib_common.php.which is mentioned in the error above.
now if you notice the above error accrued on line 279, lets scroll down to that location in the script.

this is were the error says it is: line 279
return date($format, $ts);
}

but you need to look up at the function
and find line number 267
you'll should see this:
function date_format($format, $date = 0)

heres all you need to do, change :
function date_format($format, $date = 0)
to
function new_date_format($format, $date = 0)

just that one line of code, save it ,up load your file and test it.

Hope it works for you as well as it did for me.
Regards
Rick
http://hot-topics-today.com

ps. do this before making any .htaccess changes , if the above does not work then you need to find out which php files your host has on your server, if you are lucky and your host has both php5 and php4 then your in luck, if you have access to php4 then put this on the first line of your .htaccess file.

just like the person on 07-03-2008 posted:

AddType application/x-httpd-php4 .php
RewriteEngine On
RewriteRule ^buy/(.*)$ buy.php?word=$1 [L]

but only if my first fix didn't take care of it.
my fix should work with both lynx versions of php.
I have no clue if it will work on a windows machine.
Edit/Delete Message Reply With Quote
  #78  
Old 08-04-2008, 10:11 AM
dyamni dyamni is offline
Junior Member
 
Join Date: Aug 2008
Posts: 5
Default

Hi, I installed word cloud but couldn't get it worked. I'm using Godaddy Deluxe Linux Hosting and my website is: www.scubessc.com
__________________
web design company| free templates
Reply With Quote
Reply

Tools
Display Modes



Forum time zone is GMT. Currently it's 07:36 PM.



What is my IP | World Times | Domain Forum
Web Design & SEO Forums Powered by vBulletin® Version 3.7.0