Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Breadcrumbs missing

massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Breadcrumbs missing

Unread post by massiws »

Hi,
I posted a problem of breadcrumbs missing in a installation of a 2.6 version of nuBuilder.
I read this post late:
http://forums.nubuilder.cloud/viewtopic.p ... sing#p9701
Following the suggestion in the post I fix the problem.

After try, I realize that the only value seems influence the breadcrumbs to be missing is the max_input_vars (on some shared hosts it isn't possible to change this value).
Hope this help someone.

Thank you.
shane
Posts: 100
Joined: Mon Jun 15, 2009 10:04 am

Re: Breadcrumbs missing

Unread post by shane »

nuBuilder will soon be providing a range of hosting plans that will allow for different levels of hosting needs that are not generally available with most hosting providers including the following:

Mysql Queries Per Hour
MySql Connections Per Hour
Mysql Updates Per Hour
Mysql User Connections
PHP upload_max_filesize
PHP post_max_size
PHP max_execution_time
PHP memory_limit
PHP max_input_vars
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Breadcrumbs missing

Unread post by massiws »

Shane,
sorry if I reopen this 3D, there may be other parameters that influence this missed breadcrumbs?

The same application (working perfectly on a desktop PC) installed on a laptop show the problem: especially after deleting some records or have passed several times by edit-screen / browse-screen.

The same Linux OS, same apache (2.2.22), same PHP (5.5.23), same php.ini file ... (I edited the php.ini in apache directory, because the php.ini included in nuproduction2 directory seems not work).

What could I have missed?

Thanks in advance.
shane
Posts: 100
Joined: Mon Jun 15, 2009 10:04 am

Re: Breadcrumbs missing

Unread post by shane »

in the /etc/php.ini edit or add max_input_vars = 8000 or higher
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Breadcrumbs missing

Unread post by massiws »

shane,
so it's better, but when I try to insert a new record the problem still remain.
In the error log I found this:

Code: Select all

[Fri Jun 22 11:31:34 2012] [error] [client 127.0.0.1] PHP Strict Standards:  Creating default object from empty value in /home/max/public_html/bfd/productionnu2/common.php on line 1143, referer: http://bfd/productionnu2/browse.php?x=1&p=1&f=14fdd125848517&s=&nuopener=14fe43b67255f7&prefix=&dir=db/bfd&ses=14fe43a58d2ae0&form_ses=&lookup_code=&historySession=14fe43b6728b0e&historyIndex=1&historyLocation=fHx8SE9NRQ==|||aHR0cDovL2JmZC9wcm9kdWN0aW9ubnUyL2Zvcm0ucGhwP3g9MSZmPWluZGV4JnI9LTEmZGlyPWRiL2JmZCZzZXM9MTRmZTQzYTU4ZDJhZTAmdGFiPTEmdGFiPTEmdGFiPTE=

[Fri Jun 22 11:31:34 2012] [error] [client 127.0.0.1] PHP Notice:  Trying to get property of non-object in /home/max/public_html/bfd/productionnu2/form.php on line 1079, referer: http://bfd/productionnu2/browse.php?x=1&p=1&f=14fdd125848517&s=&nuopener=14fe43b67255f7&prefix=&dir=db/bfd&ses=14fe43a58d2ae0&form_ses=&lookup_code=&historySession=14fe43b6728b0e&historyIndex=1&historyLocation=fHx8SE9NRQ==|||aHR0cDovL2JmZC9wcm9kdWN0aW9ubnUyL2Zvcm0ucGhwP3g9MSZmPWluZGV4JnI9LTEmZGlyPWRiL2JmZCZzZXM9MTRmZTQzYTU4ZDJhZTAmdGFiPTEmdGFiPTEmdGFiPTE=

[Fri Jun 22 11:31:34 2012] [error] [client 127.0.0.1] PHP Strict Standards:  Creating default object from empty value in /home/max/public_html/bfd/productionnu2/form.php on line 1079, referer: http://bfd/productionnu2/browse.php?x=1&p=1&f=14fdd125848517&s=&nuopener=14fe43b67255f7&prefix=&dir=db/bfd&ses=14fe43a58d2ae0&form_ses=&lookup_code=&historySession=14fe43b6728b0e&historyIndex=1&historyLocation=fHx8SE9NRQ==|||aHR0cDovL2JmZC9wcm9kdWN0aW9ubnUyL2Zvcm0ucGhwP3g9MSZmPWluZGV4JnI9LTEmZGlyPWRiL2JmZCZzZXM9MTRmZTQzYTU4ZDJhZTAmdGFiPTEmdGFiPTEmdGFiPTE=

[Fri Jun 22 11:31:34 2012] [error] [client 127.0.0.1] PHP Notice:  Trying to get property of non-object in /home/max/public_html/bfd/productionnu2/form.php on line 1117, referer: http://bfd/productionnu2/browse.php?x=1&p=1&f=14fdd125848517&s=&nuopener=14fe43b67255f7&prefix=&dir=db/bfd&ses=14fe43a58d2ae0&form_ses=&lookup_code=&historySession=14fe43b6728b0e&historyIndex=1&historyLocation=fHx8SE9NRQ==|||aHR0cDovL2JmZC9wcm9kdWN0aW9ubnUyL2Zvcm0ucGhwP3g9MSZmPWluZGV4JnI9LTEmZGlyPWRiL2JmZCZzZXM9MTRmZTQzYTU4ZDJhZTAmdGFiPTEmdGFiPTEmdGFiPTE=

[Fri Jun 22 11:31:34 2012] [error] [client 127.0.0.1] PHP Notice:  Undefined offset: 1 in /home/max/public_html/bfd/productionnu2/common.php on line 1812, referer: http://bfd/productionnu2/browse.php?x=1&p=1&f=14fdd125848517&s=&nuopener=14fe43b67255f7&prefix=&dir=db/bfd&ses=14fe43a58d2ae0&form_ses=&lookup_code=&historySession=14fe43b6728b0e&historyIndex=1&historyLocation=fHx8SE9NRQ==|||aHR0cDovL2JmZC9wcm9kdWN0aW9ubnUyL2Zvcm0ucGhwP3g9MSZmPWluZGV4JnI9LTEmZGlyPWRiL2JmZCZzZXM9MTRmZTQzYTU4ZDJhZTAmdGFiPTEmdGFiPTEmdGFiPTE=
The problem occurs when I try to insert a new record AFTER I've pass several times edit-screen <--> browse-screen.
In theese cases, the $title variable in breadCrumbHTML() function (common.php - line 1810) is null (perhaps the base64_decode() function ...).

Can I tests something else?
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Breadcrumbs missing

Unread post by admin »

massiws,

When you say
The problem occurs when I try to insert a new record AFTER I've pass several times edit-screen <--> browse-screen.
Do you mean several times forward and back so the breadcrumb is only 3 deep or do you mean several times forward, forward, forward so you have a long breadcrumb?

Steven
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Breadcrumbs missing

Unread post by massiws »

admin wrote: Do you mean several times forward and back so the breadcrumb is only 3 deep or do you mean several times forward, forward, forward so you have a long breadcrumb?
The first you said: several times forward and back so the breadcrumb is only 3 deep (here a screenshot http://forums.nubuilder.cloud/viewtopic.php?f=4&t=7882).
It occurs also open a edit screen AFTER I delete a record or AFTER I print a report.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Breadcrumbs missing

Unread post by admin »

massiws,

Maybe this will help..

http://forums.nubuilder.cloud/viewtopic.p ... ilit=bread

Steven
massiws
Posts: 503
Joined: Thu May 24, 2012 2:08 am
Location: Milan, Italy
Contact:

Re: Breadcrumbs missing

Unread post by massiws »

Steven,

reinstalling Apache, PHP and MySQL on my notebook fix the problem. Maybe something wrong in LAMP installation, but I can't find it. :?
Now the application is right on both installations with these parameters:

Code: Select all

max_input_vars = 1000
post_max_size = 8M
max_execution_time = 30
memory_limit = 128M
magic_quotes_gpc = Off
As you can see, the standard PHP parameters seems make nuBuilder working well. :D

Now, I've uploaded in a shared hosting my application and the breadcrumbs are missing again! :o
I've add this in the .htaccess file:

Code: Select all

php_value max_input_vars 10000
php_value post_max_size 32M
php-value max_execution_time 600
php_value memory_limit 512M
php_value magic_quotes_gpc Off
All values ​​are accepted except for max_execution_time: it's set to 30. To change this value, the only way is a VPS solution, but economically it's a loss!!
Is there another solution to make nuBuilder exceed this limit? Maybe are there others parameters to check?

You can see the installation here: http://bfd.taichiinsubria.it (username: max - password: max)
(phpinfo here: http://bfd.taichiinsubria.it/productionnu2/php.php

Thanks in advance.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Breadcrumbs missing

Unread post by admin »

massiws,

This is what I get..
Capture.PNG
Steven
You do not have the required permissions to view the files attached to this post.
Locked