Drupal is up and running but how do I ...?

mysql problems , howto solve

Hi i am trying to install "filemanager.module" , first step on the install.txt is to run the filemanager.mysql
like this: mysql -u xxx -p drupal > filemanage.mysql

when i am doing so the console is freezing and no new tables are showing on phpmyadmin.

i head a similar problem when i was trying to install tinymce , i was unable to open a tinymce new table on the mysql db. untill i searched on the mysql db for "tinymce" and sucsesfully deleted all strings.
only then i run the tinymce.mysql script and it did the magic.

Big problem with different pages in a table

Hello I have a big problem:
I have a form with differents textfields and a submit button, when you click the submit button you obtain a lot of results in a table. The table have different pages using this command:
$output.=theme('pager', NULL, 3, 0);

I have all the code of this menu in the method : can_page() and I control in which screen the navigator goes using this:
$op = $_POST['op'];
if($op==t('Consult')){//go to the page in which the table is}
else if($op==t('Back'){//go to the main screen in wich the form is}
else{//the main screen in wihich the form is.I use it for the first time the user enters in this menu}

The problem is when I want to change of page in the table and I click "Next","Previous"... the navigator don't go to the next page or the previous page of the table, it goes to the main screen in which the initial form is. I think that the problem is with when you click a button different from "Consult" or "Back" tha navigator enter in the else option. I have tryed to change it with:

$op = $_POST['op'];
if($op==t('Consult')){//go to the page in which the table is}
else if($op==t('Back'){//go to the main screen in wich the form is}
else if($op==t('')){//the main screen in wihich the form is. I use it for the first time the user enters in this menu}

But the result is the same because when you click on "Next" or "Previous" the value of $op is t('') too. Dou you understand me?Do you know how I can solve the problem?

i18n Internationalization blocks - what's the difference?

Using Drupal 4.7 and cvs version of Internationalization module. INSTALL.txt says that:

- There are now two language blocks
	- A simple language switcher provided by i18n.module
	- A translation block provided by translation.module

Can anyone help me understand the difference between these two blocks? I've enabled both of them and on the surface they appear identical - they are each a block with flag links to the various languages I am using. What is the difference between these blocks?

Thanks

i18n language dependent variables

Using Drupal 4.7. Installed cvs version of Internationalization Module. Enabled locale, i18n and translation modules. Enabled Language Switcher block.

Problem: I can't seem to get language dependent variables working. I read in the INSTALL.txt

Tuning drupal for hi-traffic

Hi, I recently switched from phpbb to drupal. (http://drupal.org/node/44368)

Here is my configuration

- web server: Dual Xeon 3.0Ghz (32bit), 2G RAM, SATA HDD
- db server: same as web server (physically different server)
- software: apache 1.3.34, php 5.1.2, mysql 5.0.18
- total number of nodes: 70,000+
- total number of comments: 330,000+
- total number of users: 25,000+
- Usually there are 150+ anonymous users and 50+ registered users (by checking Who's online block)
- Modules: most core modules (4.7) except archive, book, drupal, legacy, ping with contributed modules (adsense, codefilter, favorite_nodes, google_analytics, logintobaggan, nmoderation, subscription, taxomony_access, urlfilter, votingapi, comment_upload, tagadelic)

The problem was... the site was too slow at first. Especially, the 'view recent' was terribly slow. It took almost 10 seconds to display and showing node/posting comment also took more than 5 seconds.

So we modified the mysql database and tracker.module like this:

ALTER TABLE comments ADD INDEX index_comments_count(pid, status);

This was for speeding up "SELECT COUNT(cid) FROM comments WHERE pid = ? AND status = ?" at comment.module. This really boosted the speed of showing node with comments as well as posting comment.

How about modifying the drupal core like this?

And to speed up the 'view recent', we modified the following part:

Glossary 4.7 No checkbox in content type configuration

Hi

I installed glossary but can't find the checkbox, mentioned in the readme.

3. Next, you have to setup the input formats you want to use the glossary with.
At the input formats page select an input format to configure. Select the
Glossary filter checkbox and press Save configuration. Now select the
configure filters tab and select the vocabulary and apply other settings.

Thanks for any help
mediaman

Pages

Subscribe with RSS Subscribe to RSS - Post installation