Announcement

#1 2013-01-11 19:09:34

kishorem
Member
2013-01-11
2

Help with Errors on Page

Just installed the latest Piwigo on a windows server at home running WAMP.  Everything seems to be running fine except the following errors.

1. Logged in as admin and launching "Administration" page, I see the following error on the page.

Notice: Undefined index: day in C:\wamp\www\gallery\include\functions.inc.php on line 526
Call Stack
# Time Memory Function Location
1 0.0018 177352 {main}( ) ..\admin.php:0
2 1.1007 1924840 include( 'C:\wamp\www\gallery\admin\intro.php' ) ..\admin.php:291
3 1.1132 2109976 format_date( ) ..\intro.php:266

( ! ) Notice: Undefined index: month in C:\wamp\www\gallery\include\functions.inc.php on line 536
Call Stack
# Time Memory Function Location
1 0.0018 177352 {main}( ) ..\admin.php:0
2 1.1007 1924840 include( 'C:\wamp\www\gallery\admin\intro.php' ) ..\admin.php:291
3 1.1132 2109976 format_date( ) ..\intro.php:266


2. Browsing individual picture inside an album generates the following error and the whole page format is messed up with missing navigation links etc (no icons for next, previous etc).

Notice: Undefined index: day in C:\wamp\www\gallery\include\functions.inc.php on line 526
Call Stack
# Time Memory Function Location
1 0.0048 270680 {main}( ) ..\picture.php:0
2 1.1144 1706136 format_date( ) ..\picture.php:836

( ! ) Notice: Undefined index: month in C:\wamp\www\gallery\include\functions.inc.php on line 536
Call Stack
# Time Memory Function Location
1 0.0048 270680 {main}( ) ..\picture.php:0
2 1.1144 1706136 format_date( ) ..\picture.php:836

( ! ) Notice: Undefined index: day in C:\wamp\www\gallery\include\functions.inc.php on line 526
Call Stack
# Time Memory Function Location
1 0.0048 270680 {main}( ) ..\picture.php:0
2 1.1150 1707000 format_date( ) ..\picture.php:850

( ! ) Notice: Undefined index: month in C:\wamp\www\gallery\include\functions.inc.php on line 536
Call Stack
# Time Memory Function Location
1 0.0048 270680 {main}( ) ..\picture.php:0
2 1.1150 1707000 format_date( ) ..\picture.php:850

Running PHP 5.4.3, MYSQL 5.1.41, APACHE 2.2.22, timezone is US Central.

Did not find relevant post on the forum.  Any help is appreciated.

Offline

 

#2 2013-01-11 19:22:47

rvelices
Former Piwigo Team
2005-12-29
1960

Re: Help with Errors on Page

probably your language file is broken or day/month translations are missing...

Offline

 

#3 2013-01-11 22:28:55

kishorem
Member
2013-01-11
2

Re: Help with Errors on Page

Thanks for the reply.

Any idea how to fix this.  I removed and reinstalled everything but the problem is exactly the same.

Appreciate your help.

Offline

 

#4 2013-01-12 01:04:12

novw
Member
2013-01-06
74

Re: Help with Errors on Page

In my case it is the host that has set some safe mode on. The 'include' command is a "dangerous" command.

Try a different theme? I saw these errors running by while using a few themes. After using "normal" theme all went well.

Last edited by novw (2013-01-12 01:05:22)

Offline

 

#5 2013-01-12 01:11:05

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Help with Errors on Page

'include' in dangerous ? seriously ? what kind of host is that ?

Offline

 

#6 2013-01-12 02:46:33

novw
Member
2013-01-06
74

Re: Help with Errors on Page

A host that has never been hacked ;)

I am telling what he told me: Thru the 'include' outsiders can start scripts and stuff on other persons computers.

-
BUT(!) I have made a discovery that may or may not be helpfull in this perticular situation. It turns out my FTP software lowercases [b]all[b] files I upload. And since on some machines INCludE is different from include, you may want to check CapITalIZatIOn on your installs?

(I don't know, just trying to help.)

Offline

 

#7 2013-01-12 15:54:02

flop25
Piwigo Team
2006-07-06
7037

Re: Help with Errors on Page

novw wrote:

A host that has never been hacked ;)

Oh yeah. They also can accept only html files, no php and no database, very secure in that case.
Seriously, go change your hoster

no piwigo core files are capitalized


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#8 2013-01-13 04:01:13

novw
Member
2013-01-06
74

Re: Help with Errors on Page

f.y.i. ALL locale files (root:language\) are in fact capitalized...

Offline

 

#9 2013-01-13 14:23:27

flop25
Piwigo Team
2006-07-06
7037

Re: Help with Errors on Page

novw wrote:

f.y.i. ALL locale files (root:language\) are in fact capitalized...

ouups ^^


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact