OMP 1.2: Loading catalog

Hi,

The loading of the catalog doesn’t work:

I didn’t check the PHP error. I can check it with the system administrator tomorrow.

Thanks,
Vicente

Hi @asmecher,

Can be helpful this screenshot?

There’s an element always loading.

Thanks,
Vicente

Hi @vlilloh,

Hmm, this must stop eventually – even if it’s forced by e.g. an Apache timeout. Can you double-check that it does indeed run “forever” (with perhaps 5 minutes being long enough to prove the point)?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

I checked and waited for more than thirty minutes. I think it does run “forever”.

The error log is the next:

`[Thu Jul 07 11:43:17 2016] [error] [client 155.54.19.181] PHP Warning: Division by zero in /home/sp-dgroup/a1/www.um.es/vh/libros.um.es/omp-1.2.0/lib/pkp/classes/core/ArrayItemIterator.inc.php on line 133, referer: http://libros.um.es/editum/manageCatalog

[Thu Jul 07 11:43:17 2016] [error] [client 155.54.19.181] PHP Warning: Division by zero in /home/sp-dgroup/a1/www.um.es/vh/libros.um.es/omp-1.2.0/lib/pkp/classes/core/ArrayItemIterator.inc.php on line 133, referer: http://libros.um.es/editum/manageCatalog

[Thu Jul 07 11:46:39 2016] [error] [client 155.54.19.181] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/sp-dgroup/a1/www.um.es/vh/libros.um.es/omp-1.2.0/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1542, referer: http://libros.um.es/editum/manageCatalog`

Load the page once causes the same issue twice (ArrayItemIterator.inc.php on line 133).

On the other hand, I’m not sure if the issue is because of the load of the uppermost menu. Because I think any page causes the same error log:

[Thu Jul 07 11:41:36 2016] [error] [client 155.54.19.181] PHP Warning: Division by zero in /home/sp-dgroup/a1/www.um.es/vh/libros.um.es/omp-1.2.0/lib/pkp/classes/core/ArrayItemIterator.inc.php on line 133, referer: http://libros.um.es/editum

[Thu Jul 07 11:41:36 2016] [error] [client 155.54.19.181] PHP Warning: Division by zero in /home/sp-dgroup/a1/www.um.es/vh/libros.um.es/omp-1.2.0/lib/pkp/classes/core/ArrayItemIterator.inc.php on line 133, referer: http://libros.um.es/editum

Many thanks,
Vicente

Hi @vlilloh,

Ah – that “divide by zero” message does help. In Settings > Appearance, verify that there are appropriate numbers in the two settings under “Lists”.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher,

Finally, it resolved the issue. Thanks!

Regards,
Vicente