| Author |
Message |
bigdmeister
Wizard


Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Nov 15, 2005 1:09 pm Post subject: Re: 404 Not Found error |
|
|
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  |
|
| Back to top |
|
|
AdBot
|
| Post subject: Re: 404 Not Found error |
|
|
|
|
|
| Back to top |
|
 |
cwkhwk
User


Joined: Mar 04, 2005 Posts: 32
|
Posted: Tue Nov 15, 2005 1:59 pm Post subject: Re: 404 Not Found error |
|
|
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 |
|
|
bigdmeister
Wizard


Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Nov 15, 2005 3:50 pm Post subject: Re: 404 Not Found error |
|
|
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 |
|
|
cwkhwk
User


Joined: Mar 04, 2005 Posts: 32
|
Posted: Tue Nov 15, 2005 4:11 pm Post subject: Re: 404 Not Found error |
|
|
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 |
|
|
bigdmeister
Wizard


Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Nov 15, 2005 4:21 pm Post subject: Re: 404 Not Found error |
|
|
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 |
|
|
cwkhwk
User


Joined: Mar 04, 2005 Posts: 32
|
Posted: Tue Nov 15, 2005 4:25 pm Post subject: Re: 404 Not Found error |
|
|
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 |
|
|
cwkhwk
User


Joined: Mar 04, 2005 Posts: 32
|
|
| Back to top |
|
|
cwkhwk
User


Joined: Mar 04, 2005 Posts: 32
|
Posted: Tue Nov 15, 2005 4:35 pm Post subject: Re: 404 Not Found error |
|
|
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 |
|
|
bigdmeister
Wizard


Joined: Sep 03, 2003 Posts: 429
|
Posted: Tue Nov 15, 2005 7:57 pm Post subject: Re: 404 Not Found error |
|
|
| 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 |
|
|
greaz
Beginner


Joined: May 16, 2003 Posts: 1
|
Posted: Tue Nov 15, 2005 9:35 pm Post subject: Re: 404 Not Found error |
|
|
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 |
|
|
cwkhwk
User


Joined: Mar 04, 2005 Posts: 32
|
Posted: Wed Nov 16, 2005 2:28 am Post subject: Re: 404 Not Found error |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
cwkhwk
User


Joined: Mar 04, 2005 Posts: 32
|
Posted: Wed Nov 16, 2005 10:55 am Post subject: Re: 404 Not Found error |
|
|
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 |
|
|
bigdmeister
Wizard


Joined: Sep 03, 2003 Posts: 429
|
Posted: Wed Nov 16, 2005 11:17 am Post subject: Re: 404 Not Found error |
|
|
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 |
|
|
cwkhwk
User


Joined: Mar 04, 2005 Posts: 32
|
|
| Back to top |
|
|
|
|
|
|
|