[Resolved] My View on two sites one works, one doesn't
Hi guys and girls,
I have a question. I& #039;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& #039;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
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
Yes they do share the same files. The server is located with our hosting provider.
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
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 & #039;separated& #039; as much as possible.
Regards,
Wessel
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
Nope. I checked it right after I installed the plugin.
Regards,
Wessel
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
Now I understand what you mean with the same php files. We have a small miscommunication here.
Below you& #039;ll find a small drawing of my installations.
My View1 My View2
| |
Mantis1 Mantis2
| |
DB1 DB2
| |
----------------
|
Server (Apache, PHP, MySQL)
Regards,
Wessel
It doesn& #039;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
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
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
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& #039;t work.
Regards,
Wessel
Edited 1 time(s). Last edit at 06/19/2009 01:40PM by wessel_k.
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
Rather simple. I completely copied the myview directory from the first installation to the second. I mean the directory below the plugin directory.
Yes but it wasn& #039;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
I& #039;ll have to postpone the test. To many people are using the system at the moment. I& #039;ll get back to you when I& #039;ve tested this one. Might be at the end of the weekend.
Sorry for the misunderstanding.
Thanx for the effort so far.
Regards,
Wessel
No problem
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
Hi,
Tried the copy and paste action. But that didn& #039;t work out. Still no & #039;working& #039; My View page.
Any other suggestion?
Regards,
Wessel
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.
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
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
Online Users
Guests:
8
Record Number of Users:
1
on April 02, 2023
Record Number of Guests:
115
on November 09, 2023
Top Users
|