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 Previous  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
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

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

The integration package should be installed into your nuke root. Look at the folder structure of the integration package. If I am not mistaken reading your last post, you installed the folders under html into /modules/gallery/, correct? If so, the installation package was not uploaded correctly.

Read the instructions and follow them line by line to avoid confusion Mr. Green
Back to top
Offline View user's profile Send private message Send e-mail
AdBot
   Post subject: Re: 404 Not Found error  

Back to top
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

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

sorry but i must have written this wrong.

i installed the gallery intergration package to my root. and the gallery intergration module inside the gallery 2 folder.

any more ideas? Im thinking it could be a problem with cookies sesson that i dont see any content, but i cant access the gallery site admin, because i keep getting

'You cant access this file directly'
Back to top
Offline View user's profile Send private message
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

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

Well you are getting the "You can't access this file directly..." because you need to put in /modules/gallery2/main.php in the address bar.

Does everything work in standalone? Would you mind posting a link?
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 4:11 pm    Post subject: Re: 404 Not Found error Reply with quote

Ok thats right.

But something has gone wrong now. its getting worse and worse this is lol.

With the standalone version i cant log in as admin 8o and if i try i go and access the gallery through nuke evolution then it comes up with this error:

Quote: › Not Found
The requested URL /cx/main.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Back to top
Offline View user's profile Send private message
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

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

Logging in as admin, do you use the admin account you set up when setting up the standalone or do you use the admin account from your nuke site? Remember that you imported your users in from nuke and if I'm not mistaken the admin account, or God account, should also be an admin on your gallery2.

You're using Evo? Same here. It seems like you're getting the 404 error because it's not looking in the modules folder for gallery2, it's looking in the root of your site for the main.php.

Have you changed your gallery.cfg file since your last post? Also, to clarify, you said that /cx/ is your nuke root?
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 4:25 pm    Post subject: Re: 404 Not Found error Reply with quote

man its getting worse....but im not giving up, ive gotten this far.

i now cant access the standalone version because im getting this error:

Error (ERROR_PERMISSION_DENIED) :
in main.php at line 142 (gallerystatus::error)
in main.php at line 87
in main.php at line 80

ive pm'd with my site details
Back to top
Offline View user's profile Send private message
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

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

OK im back on now and logged in as site admin on the standalone gallery.

But even when im logged in as gallery when i click on the link 'site admin' in the standalone i get this error:
Quote: › 'Access Denied'


hmm when i lot out i can log back in Confused
Back to top
Offline View user's profile Send private message
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

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

OK lol

im logged in now after using IE (prob a problem with cookies or something), and i still get the 'access denied' error when trying to go to site admin through standalone
Back to top
Offline View user's profile Send private message
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

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

Which admin account are you logging in with - the one you set up when installing G2 or the admin account you use to login with for Evo? If you emptied the users database to resolve the conflicts when importing users, then the one you set up during the installation of G2 will of course no longer work (it was emptied from the DB).
Back to top
Offline View user's profile Send private message Send e-mail
greaz

Beginner
Beginner


Joined: May 16, 2003
Posts: 1

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

I was originally getting the /v/ path embedded in my links too (for the images)..

I deleted the "URL path from document root to embedURI:" value, which was a "/". Changed it to nothing (left it an empty string), and everything worked after that.
Back to top
Offline View user's profile Send private message
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

PostPosted: Wed Nov 16, 2005 2:28 am    Post subject: Re: 404 Not Found error Reply with quote

nah bigdmesiter, i re-did the gallery that time and i have a serperate admin account for the gallery.

@greaz
I want to try out what you said, but i first need to fix this error when i goto the gallery2 module

Quote: › Warning: main(/home/crispinx/public_html/cx/bootstrap.inc): failed to open stream: No such file or directory in /home/crispinx/public_html/cx/main.php on line 22

Warning: main(/home/crispinx/public_html/cx/bootstrap.inc): failed to open stream: No such file or directory in /home/crispinx/public_html/cx/main.php on line 22

Warning: main(): Failed opening '/home/crispinx/public_html/cx/bootstrap.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/crispinx/public_html/cx/main.php on line 22


and for reason its going to the root to look for the main.php

heres my grallery2.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';
?>
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: Wed Nov 16, 2005 7:30 am    Post subject: Re: 404 Not Found error Reply with quote

try:
Code: ›
  'embedphpfile' => '/home/crispinx/public_html/cx/modules/gallery2/',
  'embedUri' => '/cx/modules.php?name=gallery2',
  'relativeG2Path' => '/cx/modules/gallery2/',
  'loginRedirect' => '/cx/modules.php?name=Your_Account',

_________________
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: Wed Nov 16, 2005 10:55 am    Post subject: Re: 404 Not Found error Reply with quote

hmm still keep getting the error:

Quote: › Warning: main(/home/crispinx/public_html/cx/bootstrap.inc): failed to open stream: No such file or directory in /home/crispinx/public_html/cx/main.php on line 22

Warning: main(/home/crispinx/public_html/cx/bootstrap.inc): failed to open stream: No such file or directory in /home/crispinx/public_html/cx/main.php on line 22

Warning: main(): Failed opening '/home/crispinx/public_html/cx/bootstrap.inc' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/crispinx/public_html/cx/main.php on line 22


Im gonna try and reinstall the gallery and start from scratch and tell u how it goes.
Back to top
Offline View user's profile Send private message
bigdmeister

Wizard
Wizard


Joined: Sep 03, 2003
Posts: 429

PostPosted: Wed Nov 16, 2005 11:17 am    Post subject: Re: 404 Not Found error Reply with quote



Did you activate the module in the modules admin section?

Also, when trying to view your gallery in standalone I get a 404 error with this address: http://www.yoursite.com/cx/modules/gallery2/main.php

Your nuke root is in /cx/ if I understand correctly so it should be safe to assume that your modules directory is in /cx/modules/ and unless you named the folder something other than gallery2 it should be located in this folder: /cx/modules/gallery2/. Problem is that there is nothing in your modules folder that is called gallery 2 - did you scrap it?
Back to top
Offline View user's profile Send private message Send e-mail
cwkhwk

User
User


Joined: Mar 04, 2005
Posts: 32

PostPosted: Wed Nov 16, 2005 12:31 pm    Post subject: Re: 404 Not Found error Reply with quote

DONT WORRY ITS FIXED!!!

its was acutually a porblem with my gallery2.cfg here it is if ur interested. Wink

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


Thanks for all the effort and time people put in to help me out Very Happy
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 Previous  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