Previous12Next
Steev
Posts: 47

I'm getting Object Not Found when pressing the Install button. I'm installing on my server in preparation for moving the site from my personal worksation but I'm getting the error shown below. What should be looking for to correct this.

Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.

Error 404

192.168.1.2
Friday, December 2, 2011 13:51:56
Apache/2.0.63 (NETWARE) mod_jk/1.2.23 PHP/5.0.5
Edited: 3 years ago#2982
Josh S.
Posts: 1.5k
Themes: 16
Plugins: 15
Downloads: 115.3k

I'd start by looking at the url in the address bar before clicking the install button and after. Are they the same or different? How are they different?

3 years ago#2985
Steev
Posts: 47

They match up good, fer sure! http://192.168.1.2/wiki cannot find http://192.168.1.2/wiki/index.php though index.php presents the install page whichever one you pick.

Now, that said, I haven't seen rights have any effect. It should haven't any effect anyway since I have super rights to everything on the server. There is an .htaccss in the \\Server\sys\Apache2\htdocs\wiki directory (there isn't any wiki, it would just be too much trouble to change the directory name) and I'm wondering if that might be the problem. There is no .htacess in any directory in the tree above.

3 years ago#2987
Steev
Posts: 47

It appeats to be failing because a trailing slash is apended after index.php.

Here is the code for the "Refresh" link, and the install button returs the same target (with the trailing slash). Is this correct?

<form action="/wiki/index.php/" method="get">....

Trying to track down the issue I downloaded a new ZIP of gpEasy, kept my common.php so ctype checking would work, and got the same problem again. I think therefore that the problem must be on my server. Any idea what I should look for?

Edited: 3 years ago#2995
Josh S.
Posts: 1.5k
Themes: 16
Plugins: 15
Downloads: 115.3k

/wiki/index.php/

That makes sense. The trailing slash is almost certainly the problem.

gpEasy uses url's like  /wiki/index.php/page_title  instead of  /wiki/index.php?title=page_title  and unfortunately, not all servers recognize are compatible.

You do have a couple of options though, depending on your server.

The simplest thing to do, would be to set up url rewriting so that your urls are even cleaner than the default:  /wiki/page_title. Availability and configuration differ for each type of server. For example, in apache with mod_rewrite support, you would add this to the .htaccess file in the /wiki folder:

# BEGIN gpEasy
<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv gp_rewrite On
</IfModule>
RewriteEngine On
RewriteBase "/wiki/"
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?(.*) "/wiki/index.php/$1" [L]
</IfModule>
# END gpEasy

What kind of server are you using?

3 years ago#2998
Steev
Posts: 47

It's Apache/2.0.63 (NETWARE) mod_jk/1.2.23 PHP/5.0.5 and after doing some self study and modifying this post several times I'm now good.

What is the next step to move everything from my local box to the server box? What do I have to move and what should take care not to overwrite?

Edited: 3 years ago#3000
Josh S.
Posts: 1.5k
Themes: 16
Plugins: 15
Downloads: 115.3k

To move things from a local server to remote, I'd use the export and revert functionality built into gpEasy. I'll get started on an article in the documentation: http://docs.gpeasy.com/Main/Export

3 years ago#3005
Steev
Posts: 47

After installing, attempting to log in takes me to http://192.168.1.2/wiki/Admin_Main?file=Home and results in Object Not Found.

The login page's address bar is "http://192.168.1.2/wiki/"

Edited: 3 years ago#3013
Josh S.
Posts: 1.5k
Themes: 16
Plugins: 15
Downloads: 115.3k

If you get object not found for http://192.168.1.2/wiki/Admin_Main then mod_rewrite ( all that stuff after # BEGIN gpEasy) probably isn't working right. Would you mind posting what you found was working for you?

Edited: 3 years ago#3015
Steev
Posts: 47

[duplicate post removed by orignal poster]

Edited: 3 years ago#3019
Steev
Posts: 47

[duplicate post removed by orignal poster]

Edited: 3 years ago#3020
Steev
Posts: 47

Sure. The files below allowed the install. I've boldened the areas which I think are important.

Here is what I think is relevant form my httpd.conf file (and more) (could not post entire file due to forum limits:

#
#
##### Begin Wiki Config #####
#####
Alias /wiki "sys:/Apache2/htdocs/wiki/"

# In general, allow access.
<Directory "sys:/Apache2/htdocs/wiki">
#    Options MultiViews FollowSymLinks
#     Order allow,deny
#    Allow from all
    AllowOverride All
</Directory>

# <Location "/wiki">
#    Allow from all
# </Location>

# Deny access to the running code.
# <Location "/wiki/WEB-INF/">
#     deny from all
# </Location>
##### End Wiki Config #####
#
#


Include sys:/apache2/conf/mod_php.conf
 

and this is my .htaccess file:

AddType application/x-javascript .js
AddType text/css .css
AddType text/xml .xml

<Files .htaccess>
  Order allow,deny
  Deny from all
</Files>

Order deny,allow
Deny from all
Allow from 192.168.1.0/24
# Allow from all

# BEGIN gpEasy
<IfModule mod_rewrite.c>
<IfModule mod_env.c>
  SetEnv gp_rewrite On
</IfModule>
  RewriteEngine On
  RewriteBase "/wiki/"
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule /?(.*) "/wiki/index.php/$1" [L]
</IfModule>
# END gpEasy

 

 

Edited: 3 years ago#3021
Josh S.
Posts: 1.5k
Themes: 16
Plugins: 15
Downloads: 115.3k

Ok, most people don't have access to their httpd.conf files. Since you do have access, it would probably be a good idea to set AcceptPathInfo.

AcceptPathInfo On

PathInfo is the information in a request that occurs after a file name. So with the request /wiki/index.php/page_title, "page_title" would be the PathInfo for the index.php file.

--edit

Once that is set up, check to see if the following page is accessible:

http://192.168.1.2/wiki/index.phpAdmin_Main

Edited: 3 years ago#3023
Steev
Posts: 47

I made this addition:

 

##### Begin Wiki Config #####
#####
Alias /wiki "sys:/Apache2/htdocs/wiki/"

# In general, allow access.
<Directory "sys:/Apache2/htdocs/wiki">
#    Options MultiViews FollowSymLinks
#     Order allow,deny
#    Allow from all
    AllowOverride All
</Directory>

<Files "index.php">
AcceptPathInfo On
Options +Includes

</Files>

# <Location "/wiki">
#    Allow from all
# </Location>

# Deny access to the running code.
# <Location "/wiki/WEB-INF/">
#     deny from all
# </Location>
##### End Wiki Config #####

As a result, the login link now takes me to http://192.168.1.2/wiki/Admin_Main?file=Home but the page is identical to the pre-login page and "Log in" has not been changed to "Log out." There is a message, "Javascript is required to access site administration." Attempting to go to Main results in a "NOT FOUND" where the javascript error appeared though the balance of the page is the same. There's also a message about having an out-of-date browser but that's probably just the effect of the javascript problem.

Looks like I need to find out how to enable javascript for this site. Is there something in httpd.conf that turns that on? I am absolutely certain it is enabled generally.

Edited: 3 years ago#3025
Josh S.
Posts: 1.5k
Themes: 16
Plugins: 15
Downloads: 115.3k

You most likely don't need to enable javascript on the server. The problem is  most likely that the javascript files either aren't being sent or they're being sent with the wrong mime type. To check, right click on your web page and select "View Source" or "View Page Source". Then locate the <script> tag that has a "src" attribute. The value of the src attribute is the path to the javascript file should look something like this:

/wiki/include/combine.php?js%5B%5D=%2Finclude%2Fthirdparty%2Fjs%2Fjquery.1.6.4.js

Copy and paste this value into your browser and load it. Do you get what appears to be javascript or html?

3 years ago#3030
Steev
Posts: 47

Thanks, Josh. The src attribute is /wiki/include/combine.php?js[]=%2Finclude%2Fthirdparty%2Fjs%2Fjquery.1.6.4.js&amp;etag=lums3c.1yma and opening a browser window to that location results in "Unable to connect. Firefox can't establish a connection to the server at wiki."

Cutting the link short and using only /wiki/include/combine.php?js[]=%2Finclude%2Fthirdparty%2Fjs%2Fjquery.1.6.4.js results in the same thing.

Using http://192.168.1.2/wiki/include/combine.php?js[]=%2Finclude%2Fthirdparty%2Fjs%2Fjquery.1.6.4.js results in the gpEasy installation page with these errors:

Checking                                          Status                         Current Value      Expected Value

Permissions for .../data                See Below(0)             ???                        777

SCRIPT_NAME or PHP_SELF   Failed: See Below    Set                        Set

I checked the permissions with ConsoleOne and they are shown to be Read/Write/Create/Erase/Modify/File Scan for Everyone.CORP. I tried to allow the installer to re-establish the permissions but doing so had no further effect.

As to SCRIPT_NAME or PHP_SELF, nothing was mentioned "below" but running phpinfo() (/wiki/php.php) reveals

_SERVER["SCRIPT_NAME"]   /wiki/php.php

_SERVER["PHP_SELF"]   /wiki/php.php

I hope this information is helpful; not quite sure where to go from here.

Edited: 3 years ago#3035
Steev
Posts: 47

Any thoughts?

3 years ago#3038
Josh S.
Posts: 1.5k
Themes: 16
Plugins: 15
Downloads: 115.3k

/wiki/include/combine.php?js[]=%2Finclude%2Fthirdparty%2Fjs%2Fjquery.1.6.4.js

http://192.168.1.2/wiki/include/combine.php?js[]=%2Finclude%2Fthirdparty%2Fjs%2Fjquery.1.6.4.js

Sorry, the second form is the one that should be entered in the browser window. It's normal that firefox couldn't find anything with the first one (there url isn't complete).

Odd that you get the installation page.. What happens if you just enter this: http://192.168.1.2/wiki/include/combine.php ? And is it correct that when you visit http://192.168.1.2/wiki/ you don't get the installation page?

3 years ago#3041
Steev
Posts: 47

http://192.168.1.2/wiki/include/combine.php

I get the same install page with warnings as before

http://192.168.1.2/wiki/

I get the site without CSS or the ability to actually log in, again as before.

 

3 years ago#3050
Josh S.
Posts: 1.5k
Themes: 16
Plugins: 15
Downloads: 115.3k

http://192.168.1.2/wiki/

I get the site without CSS or the ability to actually log in, again as before.

This is all because of the problem we're seeing with http://192.168.1.2/wiki/include/combine.php.

Will you replace the common.php file on your server with the attached common.php file  and see what you get when you open http://192.168.1.2/wiki/ and http://192.168.1.2/wiki/include/combine.php?

 

 

Edited: 3 years ago#3053
Previous12Next

gpEasy News

4.3.2
2/18/2014

The final release of gpEasy 4.3.2 is now available. This is primarily a third-party package ... Read More

4.3 Final
11/4/2013

The wait is over. The final release of gpEasy 4.3 brings some exciting new features ... Read More

More News

Firma Sebastian Schlichter

dyna-consult.de ist Ihre Anlaufstelle im Internet für Webhosting, Webspace und weiterer Serviceprodukte für einen erfolgreichen Auftritt im World Wide Web. Immer hochverfügbar u...

Find out more about gpEasy's Provider Spotlight

Log In

  Register