I have followed the installation instructions which are pretty straight forward.

Both in IE8 and FireFox3, when i go to open TinyBrowser by clicking the little tree lol I get all the functionality minus any images or layout. Only text loads.

Any idea why this might be happening?

Thanks for your Time!

-MassCrash2

CommentFileSizeAuthor
issue01.png112.74 KBmasscrash2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pixture’s picture

Do you mean that you can upload, browse and select, and insert the image back to TinyMCE editor?

If so, the issue seems to be the CSS issue. I remember that I've seen the similar phenomenon during the development of TinyBrowser module. Do you have any way to access your Drupal database? (phpMyAdmin or mysql command line tool....etc)? If so, could you please issue the following command and get the output result and email it to me?

SELECT * FROM variable WHERE name LIKE '%tinybrowser%';

*NOTE* replace the table name 'variable' with proper one if you are using any prefix to the Drupal database table when you first install the Drupal.

Also, if you can open an error console, please do it and try to get any Javascript errors when you invoke the TinyBrowser by clicking file browser button.

masscrash2’s picture

BTW i have also attached an image showing what it ends up looking like currently.

Also im not sure what im supposed to replace 'variable' with. I dont have any prefixes or anything so.

This is the error console errors:

Error: The stylesheet http://www.modulateddreams.com/modules/tinybrowser/tinybrowser/css/style... was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://www.modulateddreams.com/modules/tinybrowser/tinybrowser/tinybrows...
Line: 0

Error: missing ; before statement
Source File: http://www.modulateddreams.com/modules/tinybrowser/tinybrowser/js/tinybr...?
Line: 1, Column: 7
Source Code:
Error: TinyBrowser module failed. Please refer to the README.txt.

If i can provide anything else please let me know!

-MassCrash2

pixture’s picture

When you look at the settings.php of your site (most probably: sites/default/settings.php), you should able to see the following lines

$db_url = 'mysql........';
$db_prefix = 'XXXX'; (if no prefix, this should be $db_prefix = '';)

That the prefix of your database table. If it's empty string '', then you are not using any prefix and the database table name is 'variable'.

Anyway, when you have time, visit the TinyBrowser troubleshooting page and follow the instructions there?

TinyBrowser Troubleshooting
http://www.pixture.com/drupal/node/238

masscrash2’s picture

This is what was returned from sql.

SQL result

Host: localhost
Database: drupal01
Generation Time: Feb 09, 2010 at 10:20 PM
Generated by: phpMyAdmin 3.2.4 / MySQL 5.1.41
SQL query: SELECT * FROM variable WHERE name LIKE '%tinybrowser%' ORDER BY `variable`.`value` DESC LIMIT 0, 30 ;
Rows: 3
name 	value
tinybrowser_tinymce_root 	s:44:"../../../libraries/tinymce/jscripts/tiny_mce";
tinybrowser_profiles 	a:2:{i:1;a:8:{s:4:"name";s:5:"Admin";s:13:"max_file_size";i:0;s:14:"max_image_size";i:0;s:9:"path_file";s:21:"/sites/default/files/";s:10:"path_image";s:28:"/sites/default/files/images/";s:10:"path_media";s:27:"/sites/default/files/media/";s:5:"quota";i:0;s:11:"permissions";a:5:{s:6:"upload";s:6:"upload";s:4:"edit";s:4:"edit";s:7:"folders";s:7:"folders";s:6:"delete";s:6:"delete";s:8:"userpage";s:8:"userpage";}}i:2;a:8:{s:4:"name";s:7:"Blogger";s:13:"max_file_size";s:1:"0";s:14:"max_image_size";s:9:"1200x1200";s:9:"path_file";s:24:"/sites/default/files/%u/";s:10:"path_image";s:31:"/sites/default/files/%u/images/";s:10:"path_media";s:30:"/sites/default/files/%u/media/";s:5:"quota";s:1:"0";s:11:"permissions";a:5:{s:6:"upload";s:6:"upload";s:4:"edit";s:4:"edit";s:7:"folders";s:7:"folders";s:6:"delete";s:6:"delete";s:8:"userpage";s:8:"userpage";}}}
tinybrowser_roles_profiles 	a:0:{}
masscrash2’s picture

After doing this:

Enable inline plain textarea mode and check if it works or not.
Go to Administer > Site configuration > TinyBrowser page and General settings section. Then, enter edit-body to the text field of 'Enable inline image/file insertion into plain textareas'.
Then go to create contents page (any content type) and you should see the 'insert image or link' small text right below the content Body's textarea.
First disable the WYSIWYG editor and then click on the 'image' or 'link' button. This will invoke the TinyBrowser with standalone mode. Please check if this works perfectly or fails just like the TinyBrowser invoked from inside the WYSIWYG editor.

I get more layout stuff but no functionality, also this is in error console:

Warning: Unknown property 'resize'.  Declaration dropped.
Source File: http://www.modulateddreams.com/modules/tinybrowser/tinybrowser/css/stylefull_tinybrowser.css
Line: 10

Error: The stylesheet http://www.modulateddreams.com/modules/tinybrowser/tinybrowser/css/style_tinybrowser.css.php was not loaded because its MIME type, "text/html", is not "text/css".
Source File: http://www.modulateddreams.com/modules/tinybrowser/tinybrowser/tinybrowser.php?type=image&feid=edit-body
Line: 0

Error: missing ; before statement
Source File: http://www.modulateddreams.com/modules/tinybrowser/tinybrowser/js/tinybrowser.js.php?feid=edit-body
Line: 1, Column: 7
Source Code:
Error: TinyBrowser module failed. Please refer to the README.txt. 

Error: rowHighlight is not defined
Source File: http://www.modulateddreams.com/modules/tinybrowser/tinybrowser/tinybrowser.php?type=image&feid=edit-body
Line: 1

I dont know where to go from here after trying all troubleshooting.

-MassCrash2

pixture’s picture

I guess the problem is the directory you installed TinyBrowser module...

TinyBrowser should be installed in the (drupal-root)/sites/all/modules directory, not (drupal-root)/modules directory. You should avoid installing 3rd party modules to (drupal-root)/modules directory. This directory is for the core modules that comes with Drupal.

Here are some additional questions.

1) Where did you install Wysiwyg modules ?

2) Where did you install TinyMCE
(drupal-root)/sites/all/libraries directory? or any other??

Standard installation should be:

TinyBrowser module and Wysiwyg module are installed under (drupal-root)/sites/all/modules directory
TinyMCE is installed under (drupal-root)/sites/all/libraries/tinymce directory

Please check and let me know.

masscrash2’s picture

Why it was as simple as this i have no idea. I uninstalled all modules related to this and reinstalled them in sites/all/modules and now everything works lol.

Everything is up and running perfectly thank you!

-MassCrash2

masscrash2’s picture

Status: Active » Fixed

Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

atlebjornevoll’s picture