Member
Member
jackdaw   2010-07-24, 17:09
#1

I'm using this code in my sidebar to show a custom menu:

``

It works perfecty on the main news page, but when viewing the next page with older entries, the code somehow breaks the page. When viewing the source of the page, the html output stops just before this function should be executed. Perhaps a bug?

Administrator
Administrator
acrylian   2010-07-24, 17:22
#2

Perhaps. So as always any error in the server log and if which?

Member
Member
jackdaw   2010-07-24, 17:34
#3

You mean this?

[Sat Jul 24 19:31:28 2010] [error] [client 84.24.72.107] PHP Fatal error: Call to a member function getTitle() on a non-object in /var/www/vhosts/degroeneman.nl/httpdocs/zp-core/zp-extensions/menu_manager.php on line 298, referer: http://www.degroeneman.nl/news

Administrator
Administrator
acrylian   2010-07-24, 17:41
#4

Of course..:-) Please try if this also happens with the Zenpage theme.

Member
Member
jackdaw   2010-07-24, 17:51
#5

Yes it does. The html output stops at the same point.

Member
Member
sbillard   2010-07-24, 19:08
#6

please try the nightly build as this area has been changed and probably fixes your problem.

Member
Member
jackdaw   2010-07-24, 19:40
#7

Is it necessary to do a complete replacement of all the ZP files? Because I just replaced the menu manager files with the latest nightly and this didn't solve this problem.

Member
Member
kagutsuchi   2010-07-24, 20:39
#8

Yes, you should replace all Zenphoto files. It's best not to mix-and-match files from across versions. Doing so can cause all sorts of errors.

Member
Member
jackdaw   2010-07-25, 09:44
#9

Thank you. Indeed replacing all the files fixed the problem with the menu . At first I never do that when testing, because it's a 'lot' of work to replace all the files and run setup again. Not really ofcourse, but an automatic backup somewhere in the future would be very nice .

Administrator
Administrator
acrylian   2010-07-25, 10:15
#10

Well, we always told that and even on the installation page. We don't test newer plugins with older releases.

As said by sbillard on the other thread the automatic database backup is now on the list for 1.3.2, but backuping your files is really our task. Since you should not change zp-core files anyway, there is not that much to backup anyway..

Member
Member
jackdaw   2010-07-25, 20:35
#11

Something else now. After upgrading to the latest nightly, replacing all the files, except for the theme files ofcourse, my custom index page won't load. It's still in my themes folder and I've chosen it on the themes option page. Changing the custom index page to something else temporarily doesn't work either, it keeps switching back to home.php after I hit the save button (home.php is the name of my custom index page).

Administrator
Administrator
acrylian   2010-07-26, 08:28
#12

As always please try the Zenpage theme as well.

Member
Member
jackdaw   2010-07-26, 08:50
#13

In the Zenpage theme the custom index page always switches back to 'archive'. In can't choose 'gallery' for example.

EDIT: I converted the home.php to a simple index.html. That always works

Administrator
Administrator
acrylian   2010-07-26, 08:58
#14

The Zenpage theme actually by uses gallery.php by default or an (unpublished) Zenpage page. I don't think the gallery index page ever worked with that theme.

If this worked for you before please open a ticket with an exact description so sbillard sees it later.

Member
Member
jackdaw   2010-07-27, 12:40
#15

OK, I will. By the way, with that nightly I don't have the tinymce editor no more with zenpage. I tried switching to another option under tinymce instead of the default zp script, but still no editor.

Administrator
Administrator
acrylian   2010-07-27, 13:07
#16

TinyMCE is still there. Try disabling and enabling the plugin.

Member
Member
jackdaw   2010-07-27, 13:15
#17

Ahum... Thank you. In the future I will always try that first.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.