Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Cannot use a scalar value..... plz help

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
Just2Bad

Beginner
Beginner


Joined: Sep 28, 2003
Posts: 6

PostPosted: Thu Oct 02, 2003 1:34 pm    Post subject: Cannot use a scalar value..... plz help Reply with quote

HI, I just install my gallery and now when I try to create a new album I got those error messages

1- Warning: Cannot use a scalar value as an array in /home/reefsol/public_html/modules/gallery/view_album.php on line 141
2- Warning: Cannot use a scalar value as an array in /home/reefsol/public_html/modules/gallery/view_album.php on line 143
3- Warning: Cannot use a scalar value as an array in /home/reefsol/public_html/modules/gallery/view_album.php on line 372
4- Warning: Cannot use a scalar value as an array in /home/reefsol/public_html/modules/gallery/view_album.php on line 373
5- Warning: Cannot use a scalar value as an array in /home/reefsol/public_html/modules/gallery/view_album.php on line 699

Thanks

----
Gallery v1.4-pl1
Operating system Linux
Kernel version 2.4.20-20.9smp
Apache version 1.3.28 (Unix)
PHP version 4.3.3
http://www.reefsolution.com/modules.php?name=gallery
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Cannot use a scalar value..... plz help  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6274
Location: Washington Township, NJ, USA

PostPosted: Thu Oct 02, 2003 1:50 pm    Post subject: Reply with quote

2 options:
option 1: put gallery in config mode, go to http://www.reefsolution.com/modules/gal ... hpinfo.php

make sure that register_globals is ON. if not, edit your php.ini file.

option 2: reinstall gallery. i have discussed this w/ the developers and they have never seen this error before.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Just2Bad

Beginner
Beginner


Joined: Sep 28, 2003
Posts: 6

PostPosted: Thu Oct 02, 2003 2:07 pm    Post subject: Re: Cannot use a scalar value..... plz help Reply with quote

Register global is ON Confused
Back to top
Offline View user's profile Send private message
Just2Bad

Beginner
Beginner


Joined: Sep 28, 2003
Posts: 6

PostPosted: Thu Oct 02, 2003 3:40 pm    Post subject: Reply with quote

it's only doing this when I acces the gallery trough php-nuke but if I access it directly it's working no error....

Edit: Not trough php-nuke but osc2nuke 6.9 Wink
Back to top
Offline View user's profile Send private message
Just2Bad

Beginner
Beginner


Joined: Sep 28, 2003
Posts: 6

PostPosted: Thu Oct 02, 2003 3:59 pm    Post subject: Re: Cannot use a scalar value..... plz help Reply with quote

Found a fix on osc2nuke forum Mr. Green I'll post it here also for maybe other osc2nuke users who got this problem like me...

chipjack wrote: › Gallery uses a PHP variable named $breadcrumb. OSCommerce uses a variable by that name as well. Hence - conflict

decided to patch up Gallery, rather than osCommerce. Here's what I did:

in the following files:
search.php
slideshow.php
slideshow_low.php
view_album.php
view_comments.php
view_photo.php
layout/breadcrumb.inc <--- note, this is in a subdirectory

replace all occurances of "$breadcrumb" with "$gal_breadcrumb"
Back to top
Offline View user's profile Send private message
dirtbag

Beginner
Beginner


Joined: May 25, 2003
Posts: 15

PostPosted: Mon Mar 20, 2006 2:42 pm    Post subject: Re: Cannot use a scalar value..... plz help Reply with quote

thank you this solved my problem
_________________
Rick Estrada
http://www.subfighter.com
BJJ Techniques Wrestling Techniques Video Clips
Back to top
Offline View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Issues » Gallery 1 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSearch Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaSEO

6th year online! 2003-2008
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia