In this version I have replaced the previous carousel script with a new one, made by yours truly. The main advantage is that it’s much smaller and way easier to modify and improve. Any suggestions are welcome.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in wp-content/plugins/deviant-thumbs/deviant-thumbs.php on line 27
I tried that code on localhost and I had no problems. Check your error logs (they should be in one of these directories: public_html, wordpress install dir, deviant-thumbs plugin dir).
i deleted the file and i set the permissions 000 on the folder and now it is just trying to load the page forever, which im assuming, it’s trying to create the file in that folder.
[07-Jan-2009 15:39:19] PHP Warning: file_get_contents(http://pipes.yahoo.com/pipes/pipe.run?_id=627f77f83f199773c5ce8a150a1e5977&_render=php&query=sort%3Atime+by%3Atonysak) [function.file-get-contents0]: failed to open stream: HTTP request failed! in /var/www/savvior/sites/tscom/www/blog/wp-content/plugins/deviant-thumbs/deviant-thumbs.php on line 90
[07-Jan-2009 15:39:19] PHP Warning: shuffle() expects parameter 1 to be array, null given in /var/www/savvior/sites/tscom/www/blog/wp-content/plugins/deviant-thumbs/deviant-thumbs.php on line 74
1.7.6 is broken (but easily fixable).
In widget.php, top of the file, you have:
if ( !class_exists(‘scbOptions’) )
require_once(‘scbOptions.php’);
It should be:
if ( !class_exists(‘scbOptions’) )
require_once(‘inc/scbOptions.php’);
Thanks! Fixed in 1.7.6.1
I keep getting an error:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in wp-content/plugins/deviant-thumbs/deviant-thumbs.php on line 27
You need PHP5 on your webhost.
I have upgraded to PHP5, and the error disappeared, now when I try to use it.
When I insert the
into the sidebar. it just never loads, the page never continues loading as if it is about to time out.
i am using wordpress 2.7/PHP Version 5.1.6
i took the arguments out of the function and it just loads a blank now
Could you post the code and the URL (if it’s public)?
Use the Preview button before posting.
http://tonysak.com/ – right column under ‘recent deviations’
the code i used in the side bar:
deviant_thumbs($query=”by:tonysak”, $args=”");
the other code is just a div and ul surrounding it.
I tried that code on localhost and I had no problems. Check your error logs (they should be in one of these directories: public_html, wordpress install dir, deviant-thumbs plugin dir).
in the thumbs dir:
by%3ATOYIB.txt – is created but it is empty
i created an error log with htaccess but no errors got logged
not really sure what else to try. instead of it taking forever to load. no it is just loading nothing but an e
Well try deleting that file and see what happens.
If that doesn’t help, try making the thumb dir unwritable so the plugin is forced to not use the cache file.
i deleted the file and i set the permissions 000 on the folder and now it is just trying to load the page forever, which im assuming, it’s trying to create the file in that folder.
ok, it finally spit out some errors:
[07-Jan-2009 15:39:19] PHP Warning: file_get_contents(http://pipes.yahoo.com/pipes/pipe.run?_id=627f77f83f199773c5ce8a150a1e5977&_render=php&query=sort%3Atime+by%3Atonysak) [function.file-get-contents0]: failed to open stream: HTTP request failed! in /var/www/savvior/sites/tscom/www/blog/wp-content/plugins/deviant-thumbs/deviant-thumbs.php on line 90
[07-Jan-2009 15:39:19] PHP Warning: shuffle() expects parameter 1 to be array, null given in /var/www/savvior/sites/tscom/www/blog/wp-content/plugins/deviant-thumbs/deviant-thumbs.php on line 74
I sent you an email.
for 2 widgets?
You need multiple widgets? Stay tuned for version 1.8.
thanks ;)