Welcome Guest, Not a member yet? Register   Sign In
PyroCMS v0.9.9
#61

[eluser]hugle[/eluser]
[quote author="ray73864" date="1266323494"]Hi Phil,

So i'm not sure what i am doing wrong here, but anyway, i downloaded beta3, extracted it to /var/www (renamed the new dir to 'test'), managed to get the installer to work fine, however when i go to 'http://www.rayherring.net/test/admin' it comes up with a 404 not found error.

the 404 isn't a CI or PyroCMS error, it is a webserver error saying it can't find the file /test/admin.

Ray[/quote]

Hello

well, your 'test' directory is empty now. or maybe it could be permissions error. but this time, I think, you probably extracted to the wrong place. try once moreSmile
#62

[eluser]ray73864[/eluser]
nah, i gave up, turned off apache (hate it anyway, so hard to configure virtual servers) and decided to install Cherokee Webserver, will see how that goes for a few days, i may end up going back to Apache2.

but yeah, it wasn't a permission problem or anything, the 'test' directory was there, and if i typed in 'http://www.rayherring.net/test/index.php/admin' i could get to the login screen just fine. Without 'index.php' though i could only get the 404 error.
#63

[eluser]hugle[/eluser]
[quote author="ray73864" date="1266327822"]nah, i gave up, turned off apache (hate it anyway, so hard to configure virtual servers) and decided to install Cherokee Webserver, will see how that goes for a few days, i may end up going back to Apache2.

but yeah, it wasn't a permission problem or anything, the 'test' directory was there, and if i typed in 'http://www.rayherring.net/test/index.php/admin' i could get to the login screen just fine. Without 'index.php' though i could only get the 404 error.[/quote]

so then you need to enable mod_rewrite, or how is it called under cherokee...


Anyway, I use apache2Smile
#64

[eluser]ray73864[/eluser]
err, it works fine under cherokee

apache2 wasn't working, and mod_rewrite is set up, because earlier versions of pyrocms work perfectly, it is just 0.9.8 that isn't working for me (beta3 at least anyway).

Will show you, i have put pyrocms back into http://www.rayherring.net/test and have turned cherokee off and apache2 back on.

and i'm not stupid on this one, i used to do loads of testing for Phil in the earlier releases of pyrocms.
#65

[eluser]hugle[/eluser]
[quote author="ray73864" date="1266328847"]err, it works fine under cherokee

apache2 wasn't working, and mod_rewrite is set up, because earlier versions of pyrocms work perfectly, it is just 0.9.8 that isn't working for me (beta3 at least anyway).

Will show you, i have put pyrocms back into http://www.rayherring.net/test and have turned cherokee off and apache2 back on.

and i'm not stupid on this one, i used to do loads of testing for Phil in the earlier releases of pyrocms.[/quote]

hm, strange. what if you try this:

put PyroCMS directly into: http://www.rayherring.net/ ?
#66

[eluser]hugle[/eluser]
try changing the base_url value, in config.php, like this:
Code:
$config['base_url']    = "http://".$_SERVER['SERVER_NAME'].str_replace( str_replace("\\", "/", $_SERVER['DOCUMENT_ROOT']), '/', str_replace("\\", "/", str_replace(SELF, '', FCPATH)) );

or this:
Code:
$config['base_url']    = "http://www.rayherring.net/test";
#67

[eluser]ray73864[/eluser]
the installer won't get past step#3 because /var/www isn't writeable by the webserver, however when i ran the installer under /test it got past step#3 with all green 'writeables'.
#68

[eluser]ray73864[/eluser]
ok, it turns out i had the 'AllowOverride' directive not set up correctly. once i told it that the .htaccess can override 'All', it all started working fine again.

maybe that would be something to put in the documentation, or in the 'INSTALL' file, it wasn't until i tried to put it in 'http://www.rayherring.net/~ray73864/' where it also didn't work (came up with a configuration error), that the logfile actually said what was wrong.

strange thing was that the apache error logfile didn't mention anything about a misconfiguration when it was under /var/www/test.
#69

[eluser]ray73864[/eluser]
now if only i could get a single vhost set up working so that all subdomains (except for www) get pointed to /http/rayherring.net/<subdomain> last time i tried, the www stopped working, or it had trouble with my new vhost (i preferred lighttpd because you could have true dynamic vhosts stored in a SQL database, but sadly that meant losing .htaccess capabilities).
#70

[eluser]hugle[/eluser]
[quote author="ray73864" date="1266329929"]now if only i could get a single vhost set up working so that all subdomains (except for www) get pointed to /http/rayherring.net/<subdomain> last time i tried, the www stopped working, or it had trouble with my new vhost (i preferred lighttpd because you could have true dynamic vhosts stored in a SQL database, but sadly that meant losing .htaccess capabilities).[/quote]

to achieve this, you'll need to play with apache setup.
and probably tweak PyroCMS a bit

so now, I see, /test/ is workign for you, I also see the admin panel.
so you are all good Smile




Theme © iAndrew 2016 - Forum software by © MyBB