|
#71
| |||
| |||
|
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? |
|
#72
| |||
| |||
|
when do u plan on getting the script working again?
|
|
#73
| ||||
| ||||
|
In the mean time, try adding this line to the top of your .htaccess file. Quote:
__________________ Knowledgebase | SEO | Free Scripts | Free Graphics | Free Wordpress Themes | Free Word Cloud Script | Domains For Sale | Optimize Your Forum |
|
#74
| |||
| |||
| |
|
#75
| |||
| |||
| URL: safelistxl.com Slogan: SafelistXL Word Cloud ! Color: Red, White & Blue Image: People Applauding |
|
#76
| |||
| |||
|
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. |
|
#77
| |||
| |||
|
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. |
|
#78
| |||
| |||
|
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 |
|
#79
| |||
| |||
|
thank you i made a great thing of it
|
|
#80
| |||
| |||
|
wonderful, will install soon.
|
![]() Ultimate Wordpress Commenter |
![]() |
| Tools | |
| Display Modes | |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Anonymous Email Script | Admin | Free Scripts | 15 | 07-12-2009 04:47 PM |
| Flash action script | criphaze22 | Free Scripts | 4 | 07-01-2009 07:19 PM |