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  

404 Not Found error
Goto page 1, 2, 3, 4, 5, 6  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

PostPosted: Tue Nov 15, 2005 2:56 am    Post subject: 404 Not Found error Reply with quote

Hi,

I mange to migrate from gallery 1 fine outside of phpnuke. Everything working fine. But when i install the gallery2 intergration pack (and config the .cfg correctly) and goto the gallery i see all the albums names but not the content or the thumbnails. When i click on any of the albums i get a 404 not found error

Code: › Not Found
The requested URL /cx/v/test/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


For some reason when you look at the requested URL you can see thats its going through the dir 'v', i have no idea where it got that from and dont remember putting that dir 'v' in anywhere.

And it happens for all the other albums aswell.

Code: › Not Found
The requested URL /cx/v/album19/ was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


And when you look at the address bar it goes to the albums like this: 'v/album19/' for some reason.

Here is my gallery2.cfg

Code: › <?php
$g2embedparams = array (
  'embedphpfile' => '/home/crispinx/public_html/cx/modules/gallery/',
  'embedUri' => 'modules.php?name=gallery2',
  'relativeG2Path' => '/modules/gallery/',
  'loginRedirect' => 'modules.php?name=Your_Account',
  'activeUserId' => '0',
  'embedPath' => '/cx',
  'cookiepath' => '/',
);
$g2mainparams = array (
  'showSidebar' => NULL,
);
$g2configurationdone = 'true';
?>


(cx is the root of my website)

cwkhwk
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: 404 Not Found error  

Back to top
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

PostPosted: Tue Nov 15, 2005 3:52 am    Post subject: Re: 404 Not Found error Reply with quote

For your embed path, try /cx/ and for your embedphpfile, is it /home/crispinx/public_html/cx/modules/gallery/or /home/crispinx/public_html/cx/modules/gallery2/ ? (Same for relativeG2Path)


Your nuke is looking for a gallery2 folder according to your embedUri setting but according to your other settings it is found in a folder called gallery.
Back to top
Offline View user's profile Send private message Send e-mail
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

PostPosted: Tue Nov 15, 2005 10:00 am    Post subject: Re: 404 Not Found error Reply with quote

Hi tried the /cx/ thing and it didn't work.

the gallery is installed on my website like this:
the main gallery is installed on my site in the modules folder of my phpnuke site and is called 'gallery'
the gallery intergration module is installed in my phpnuke site in the modules folder under the name 'gallery2'

and this is my gallery2.cfg

Code: › <?php
$g2embedparams = array (
  'embedphpfile' => '/home/crispinx/public_html/cx/modules/gallery/',
  'embedUri' => 'modules.php?name=gallery',
  'relativeG2Path' => '/modules/gallery/',
  'loginRedirect' => 'modules.php?name=Your_Account',
  'activeUserId' => '0',
  'embedPath' => '/cx/',
  'cookiepath' => '/',
);
$g2mainparams = array (
  'showSidebar' => NULL,
);
$g2configurationdone = 'true';
?>


Last edited by cwkhwk on Tue Nov 15, 2005 10:01 am; edited 1 time in total
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Nov 15, 2005 10:01 am    Post subject: Re: 404 Not Found error Reply with quote

read the README. G2 must be installed in modules/gallery2.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

PostPosted: Tue Nov 15, 2005 10:02 am    Post subject: Re: 404 Not Found error Reply with quote

if i rename it now will it now, will it muck everything up?

p.s i followed this: http://codex.gallery2.org/index.php/Gallery2:migration
Quote: › Install g2 into a new folder called gallery (e.g. extract and rename gallery2 to gallery)
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Nov 15, 2005 10:18 am    Post subject: Re: 404 Not Found error Reply with quote

the migration doc has nothing to do with integration.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

PostPosted: Tue Nov 15, 2005 11:28 am    Post subject: Re: 404 Not Found error Reply with quote

ok then.

Is GD2 suppose to be installed in the modules dir and the gallery2 intergration pack installed the same dir as GD2 aswell??
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Nov 15, 2005 11:31 am    Post subject: Re: 404 Not Found error Reply with quote

GD2 is one of the available toolkits that G2 uses. Please read the following docs:
Integration README [sourceforge.net]
Gallery 2 Installation Requirements [gallery2.org]
Gallery 2 FAQ [gallery2.org]
Gallery 2 HOW TO [gallery2.org]
Gallery 2 README [sourceforge.net]
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

PostPosted: Tue Nov 15, 2005 11:39 am    Post subject: Re: 404 Not Found error Reply with quote

im sorry i meant the actually gallery 2 installation not GD2.

is the real gallery2 installtion supposed to be isntalled in the modules of phpnuke, or doesn't it matter and the intergration pack installed in the same folder as gallery2 if it was installed in the modules folder
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Nov 15, 2005 11:41 am    Post subject: Re: 404 Not Found error Reply with quote

http://www.nukedgallery.net/postp12472.html#12472
and the README in the integration have all your answers.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

PostPosted: Tue Nov 15, 2005 11:51 am    Post subject: Re: 404 Not Found error Reply with quote

Im sorry im being such a hassle, but did you didn't say if the G2 should be installed in the modules dir with the gallery2 intergration package.

the gallery is installed on my website like this:
the main gallery is installed on my site in the root of my phpnuke site and is called 'gallery2'
the gallery intergration module is installed in my phpnuke site in the modules folder under the name 'gallery2'

and this is my gallery2.cfg

Code: › <?php
$g2embedparams = array (
  'embedphpfile' => '/home/crispinx/public_html/cx/gallery2/',
  'embedUri' => 'modules.php?name=gallery2',
  'relativeG2Path' => 'gallery2/',
  'loginRedirect' => 'modules.php?name=Your_Account',
  'activeUserId' => '0',
  'embedPath' => '/cx/',
  'cookiepath' => '/',
);
$g2mainparams = array (
  'showSidebar' => NULL,
);
$g2configurationdone = 'false';
?>


and im just getting the same error i first started off with
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Nov 15, 2005 11:53 am    Post subject: Re: 404 Not Found error Reply with quote

please read the first sentence here:
http://cvs.sourceforge.net/viewcvs.py/* ... installing
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

PostPosted: Tue Nov 15, 2005 11:57 am    Post subject: Re: 404 Not Found error Reply with quote

ok lol i should have reliased that. So that means that the gallery2 intergration pack will be installed in the same gallery2 folder overiding any existing files (i.e the index.php)
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Nov 15, 2005 12:02 pm    Post subject: Re: 404 Not Found error Reply with quote

yes
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

PostPosted: Tue Nov 15, 2005 12:46 pm    Post subject: Re: 404 Not Found error Reply with quote

lol this is just doens't want to work eh?

well ive done everthing you said and read those pages.

i installed G2 into the modules dir and installed the intergration pack into the same folder (modules/gallery2)

and im still getting the error that i got in this thread starter.

here is gallery2.cfg
Code: ›
<?php
$g2embedparams = array (
  'embedphpfile' => '/home/crispinx/public_html/cx/modules/gallery2/',
  'embedUri' => 'modules.php?name=gallery2',
  'relativeG2Path' => 'modules/gallery2/',
  'loginRedirect' => 'modules.php?name=Your_Account',
  'activeUserId' => '0',
  'embedPath' => '/cx/',
  'cookiepath' => '/',
);
$g2mainparams = array (
  'showSidebar' => NULL,
);
$g2configurationdone = 'true';
?>


is there something im suppose to enable in the gallery 2 site admin or something? i must be doing something wrong here

plus im getting this error when trying to access the gallery site admin or when trying to access modules/gallery2

Code: › You can't access this file directly...
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Goto page 1, 2, 3, 4, 5, 6  Next

 
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 HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

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