Mantis

[Resolved] My View on two sites one works, one doesn't

Posted by wessel_k 
[Resolved] My View on two sites one works, one doesn't
June 17, 2009 10:27PM
Hi guys and girls,

I have a question. I've got two mantis installations on the same server. Two directories and two databases. The only difference is the config file and some images. On the database level there are some differences in the workflow threshold. So that's the content of the database. There are no differences in the database configuration.
The issue is that the myview plugin works on the first installation and not on the second? Is there anybody that can help me with finding out where the issue is? Or maybe point into a specific direction.

Looking forward to any reaction.

Kind regards,

Wessel
Re: My View on two sites one works, one doesn't
June 18, 2009 08:41AM
Do the two installations share the same PHP files?

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: My View on two sites one works, one doesn't
June 18, 2009 10:25AM
Yes they do share the same files. The server is located with our hosting provider.
Re: My View on two sites one works, one doesn't
June 18, 2009 10:35AM
Did you install the plugin for both installations (even if the PHP files are shared)?

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: My View on two sites one works, one doesn't
June 19, 2009 11:28AM
Hi there,

My reaction to the last question seems to be lost in space.

Yes I did install the plugin for both installations. I keep them 'separated' as much as possible.

Regards,

Wessel
Re: My View on two sites one works, one doesn't
June 19, 2009 11:46AM
Your not anonymous in the second bugtracker?

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: My View on two sites one works, one doesn't
June 19, 2009 12:02PM
Nope. I checked it right after I installed the plugin.

Regards,

Wessel
Re: My View on two sites one works, one doesn't
June 19, 2009 12:08PM
Can you explain to me how you did to be able to share the same PHP file for both installations?

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: My View on two sites one works, one doesn't
June 19, 2009 12:26PM
Now I understand what you mean with the same php files. We have a small miscommunication here.

Below you'll find a small drawing of my installations.

My View1 My View2
| |
Mantis1 Mantis2
| |
DB1 DB2
| |
----------------
|
Server (Apache, PHP, MySQL)

Regards,

Wessel
Re: My View on two sites one works, one doesn't
June 19, 2009 12:32PM
It doesn't tell me if this is the same PHP files for both installations.

Is it:

      foo.php
       /    \
Mantis 1   Mantis 2


or:
  foo.php     foo.php
     |           |
Mantis 1     Mantis 2

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: My View on two sites one works, one doesn't
June 19, 2009 12:37PM
If you mean with same php files. The files needed for mantis. I have two separate directories with all the files separately.

If you mean by same php files the files needed for the php installation (e.g. php.ini) there is only one.

Regards,

Wessel

Mantis: 1.1.8
PHP: 5.2.0-8+etch13
SQL: MySQL 5.0.32-Debian_7etch8
OS: Linux 2.6.29-2-686
Re: My View on two sites one works, one doesn't
June 19, 2009 12:39PM
Ok, so make sure that the my_view_page.php file is the same in both installation.

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: My View on two sites one works, one doesn't
June 19, 2009 01:38PM
Did that reinstalled My View in the second one and copied the file from the first installation. Although I used the same MyView pkg file for both installations.
It still doesn't work.

Regards,

Wessel



Edited 1 time(s). Last edit at 06/19/2009 01:40PM by wessel_k.
Re: My View on two sites one works, one doesn't
June 19, 2009 02:07PM
Which files exactly?

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: My View on two sites one works, one doesn't
June 19, 2009 02:20PM
Rather simple. I completely copied the myview directory from the first installation to the second. I mean the directory below the plugin directory.
Re: My View on two sites one works, one doesn't
June 19, 2009 02:56PM
Yes but it wasn't these files the problem, the problem is the my_view_page.php file at the mantis root directory.

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: My View on two sites one works, one doesn't
June 19, 2009 03:06PM
I'll have to postpone the test. To many people are using the system at the moment. I'll get back to you when I've tested this one. Might be at the end of the weekend.

Sorry for the misunderstanding.

Thanx for the effort so far.

Regards,

Wessel
Re: My View on two sites one works, one doesn't
June 19, 2009 03:11PM
No problem winking smiley

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: My View on two sites one works, one doesn't
June 23, 2009 09:07PM
Hi,

Tried the copy and paste action. But that didn't work out. Still no 'working' My View page.

Any other suggestion?

Regards,

Wessel
Re: My View on two sites one works, one doesn't
June 23, 2009 10:21PM
I noticed a small difference when looking at the source of the internet pages through IE -> Source

A part of the working site shows the following lines:
Language: HTML
"text/javascript" var nameOfCookie = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;MANTIS_DRAGABLE_BOXES&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var UserID = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;3&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var CookiePath = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;/&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var CookieDomain = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var var_a = new Array(); var var_b = new Array(); var var_c = new Array();   var_a[1] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_b[1] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_c[1] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_a[2] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_b[2] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_c[2] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_a[3] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_b[3] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_c[3] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_a[4] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_b[4] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_c[4] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_a[5] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_b[5] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_c[5] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_a[6] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_b[6] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_c[6] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_a[7] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_b[7] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_c[7] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_a[8] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_b[8] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var_c[8] = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;;   function createDefaultBoxes() { if( cookieCounter == 0 ) { createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;monitored&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 2, 0); createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;recent_mod&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 1, 1); createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;resolved&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 2, 2); createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;reported&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 1, 3); createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;unassigned&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 2, 4); createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;assigned&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 1, 5);

The same part from the &#039;none&#039; working site shows the following lines:

Language: HTML
"text/javascript" var nameOfCookie = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;MANTIS_DRAGABLE_BOXES&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var UserID = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;3&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var CookiePath = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;/&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var CookieDomain = &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;; var var_a = new Array(); var var_b = new Array(); var var_c = new Array();     function createDefaultBoxes() { if( cookieCounter == 0 ) { createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;monitored&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 2, 0); createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;recent_mod&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 1, 1); createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;resolved&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 2, 2); createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;reported&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 1, 3); createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;unassigned&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 2, 4); createABugBox(&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;box&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, &<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;assigned&<a href="http://bugtracker.morinie.fr/mantis/view.php?id=039" target="_blank">#039</a>;, 1, 5);


Hope this helps a little bit.
Re: My View on two sites one works, one doesn't
June 24, 2009 08:47AM
What is "not working"?

Vincent


Mantis: 1.1.0, 1.1.5, 1.1.1
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux

Please complete your signature with your environment informations.
Enable skype notification here
Re: My View on two sites one works, one doesn't
June 24, 2009 09:04AM
I don&#039;t see anything in the MyView page. No boxes what so ever. Only the &#039;Add Box&#039; and &#039;Reset to default&#039; &#039;buttons. But clicking on them doesn&#039;t do/changes anything.

Regards,

Wessel

Mantis: 1.1.8
PHP: 5.2.0-8+etch13
SQL: MySQL 5.0.32-Debian_7etch8
OS: Linux 2.6.29-2-686
Sorry, only registered users may post in this forum.

Click here to login



Online Users

Guests: 10
Record Number of Users: 1 on April 02, 2023
Record Number of Guests: 115 on November 09, 2023
Top Users
Hébergeur : Morinie.Fr