screen/page width is too big in browser

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

sbe
Posts: 19
Joined: Wed Sep 28, 2005 3:57 am

screen/page width is too big in browser

Post by sbe »

Hi,

for a longer time I've detected that my graphs display with a screen width which is bigger than my browser window. Therefore all of my graphs show up with only a part of the image within my browser window, see attached example. This happens in Firefox 3.6 but not in Internet Explorer (tested with 7.0).

What could be the reason?

regards,
stefan
Attachments
cacti.problem.jpg
cacti.problem.jpg (80.77 KiB) Viewed 2670 times
Last edited by sbe on Tue Jun 01, 2010 7:30 am, edited 1 time in total.
User avatar
Hyperlord
Cacti User
Posts: 211
Joined: Tue Feb 10, 2009 3:24 am
Location: Frankfurt (a.M.), Germany

Post by Hyperlord »

What Cacti version is that?

Did you view the Sourcecode of the specific area (you can mark that area in FF with FireBug and it'll be higllighted [src code] then)?

Do you have Plug-Ins integreated? Those are up2date?

I guess this is just a misplaced <div>-Element ...

brgds
Om Tat Sat
sbe
Posts: 19
Joined: Wed Sep 28, 2005 3:57 am

Post by sbe »

Hyperlord wrote:What Cacti version is that?
It appears on 0.8.7 e and f version.
Hyperlord wrote: Do you have Plug-Ins integreated? Those are up2date?
I have no plugins (in cacti).

And it appears inside IE 6.0 now as well.
The source code seems ok, according to validator.w3.org. The source is attached ...
Attachments
cacti.src.html.txt
(7.69 KiB) Downloaded 72 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Don't use cacti 0.8.7f, go back to e.

I use FF 3.6 all the time with cacti and there are no problems like this. I think it's either a firefox addon issue, or there is some custom graph you're displaying thats super wide for some reason.

Does this wide issue happen for all cacti user accounts or only one?
sbe
Posts: 19
Joined: Wed Sep 28, 2005 3:57 am

Post by sbe »

It appears in a freshly installed Chrome browser as well. Su I suggest it is not a problem of my browser. But I still do not have a clue about the reason.

regards,
sbe
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Until you address all of my questions, we cannot proceed further.
sbe
Posts: 19
Joined: Wed Sep 28, 2005 3:57 am

Post by sbe »

BSOD2600 wrote:Don't use cacti 0.8.7f, go back to e.
It happens on e and f as said before.
BSOD2600 wrote:I use FF 3.6 all the time with cacti and there are no problems like this. I think it's either a firefox addon issue, or there is some custom graph you're displaying thats super wide for some reason.
I don't think so, the graph is at it's normal size, its the window within the browser which is too wide.
BSOD2600 wrote:Does this wide issue happen for all cacti user accounts or only one?
It happens to admin and guest, I don't use any other users.

regards,
Stefan
sbe
Posts: 19
Joined: Wed Sep 28, 2005 3:57 am

Post by sbe »

Hyperlord wrote:Do you have Plug-Ins integreated? Those are up2date?
I don't use plugins, plain cacti only.

regards,
stefan
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

In the attached html code, one finds the following:

Code: Select all

<img src="images/transparent_line.gif" width="2298" style="height:2px;" border="0"><br>
which is most likely the cause of your issue. Additionally:

Code: Select all

<meta http-equiv=refresh content='99999'>
suggests that you/others/plugin have messed with the default settings, as that value is typically 300 (aka 5 minutes).

Anything of the settings in the following sections seem out of order?
Settings -> Visual
User Management -> <username> -> Graph Settings
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I wonder who did that? Oh wait, Graph Settings ->Dual Pane Tree Width maybe?

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
sbe
Posts: 19
Joined: Wed Sep 28, 2005 3:57 am

Post by sbe »

BSOD2600 wrote:In the attached html code, one finds the following:


suggests that you/others/plugin have messed with the default settings, as that value is typically 300 (aka 5 minutes).

Anything of the settings in the following sections seem out of order?
Settings -> Visual
User Management -> <username> -> Graph Settings
Here are the settings for visual.

The refresh value is set to 300 seconds.

regards,
stefan
Attachments
cacti.settings.visual.jpg
cacti.settings.visual.jpg (241.02 KiB) Viewed 2548 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

sbe wrote:
BSOD2600 wrote:In the attached html code, one finds the following:


suggests that you/others/plugin have messed with the default settings, as that value is typically 300 (aka 5 minutes).

Anything of the settings in the following sections seem out of order?
Settings -> Visual
User Management -> <username> -> Graph Settings
Here are the settings for visual.

The refresh value is set to 300 seconds.

regards,
stefan
Not quite. When viewing graphs, there is a tab on the right hand side that states "Settings". That's where you find that setting.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
sbe
Posts: 19
Joined: Wed Sep 28, 2005 3:57 am

Post by sbe »

TheWitness wrote: Not quite. When viewing graphs, there is a tab on the right hand side that states "Settings". That's where you find that setting.
Here it is:
Attachments
cacti.settings.2.jpg
cacti.settings.2.jpg (474.74 KiB) Viewed 2530 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ok, so grep for that width value and change it back to the default. Someone had to have hacked your page.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
sbe
Posts: 19
Joined: Wed Sep 28, 2005 3:57 am

Post by sbe »

TheWitness wrote:Ok, so grep for that width value and change it back to the default. Someone had to have hacked your page.
I've changed the value within two files.

But what about the problem with the too large transparent_line.gif?
This is a problem which much more annoying.

regards,
Stefan
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests