Post by dom1959 » Thu Feb 11, 2010 10:44 pm

Finally everything is working fine, able to get into my admin page fine.
except when I go to my page, it keeps looking for the install page:

http://www.example.com/install/index.php
instead of
www. example.com/index.php

Any ideas
Last edited by i2Paq on Thu Feb 11, 2010 10:53 pm, edited 2 times in total.
Reason: No need for the !!!!!!!!!!

Newbie

Posts

Joined
Mon Feb 08, 2010 1:00 pm

Post by i2Paq » Thu Feb 11, 2010 10:54 pm

What did you do to get it working?

Did your install went without any error as this kind of behaviore is strange after a correct install.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Qphoria » Thu Feb 11, 2010 11:01 pm

it only goes to the install page if the config.php or admin/config.php files are empty. This could be that it wasn't writable during install, or it was writable but the php settings on your host weren't allowing the data to be saved.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by i2Paq » Thu Feb 11, 2010 11:09 pm

Qphoria wrote:it only goes to the install page if the config.php or admin/config.php files are empty. This could be that it wasn't writable during install, or it was writable but the php settings on your host weren't allowing the data to be saved.
This could still be the case looking at the first topic of the TS Directory listing is denied.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by dom1959 » Fri Feb 12, 2010 6:32 am

i2Paq wrote:What did you do to get it working?

Did your install went without any error as this kind of behaviore is strange after a correct install.

Mr Server was the problem, I asked them to create a phpinfo, then I logged in, as I said but still can't get in the web page, and yes my config.php is empty.

Any clues as to why this is?
Does anyone know what goes in the config file?

Please help

Newbie

Posts

Joined
Mon Feb 08, 2010 1:00 pm

Post by pstreet » Fri Feb 12, 2010 7:26 am

Any clues as to why this is?
The config.php file needs to be writable.

Have you checked to ensure that the config.php file has write permission?
Is php safe mode on? (this potentially would not allow the file to be written to)
How does your php execute, are scripts run with user permissions? or does it run with webserver permissions? (in this case you may need to make the config.php script writable by 'other', then once it's written remove the 'other' writable permission).

These are just some of the things that could be inhibiting the ability to write to the config.php file (and remember there's also a config.php file under the 'admin' directory that needs to be writable as well).
Does anyone know what goes in the config file?
Yes, the initial definitions that are used throughout OpenCarts operation, such as your base server directory, DB configuration etc. Every answer to questions asked within the install process usually results in information written to this file so that OpenCart can operate.

Currently unavailable for freelance work and consulting.


User avatar
New member

Posts

Joined
Tue Nov 03, 2009 2:00 pm
Location - New South Wales, Australia

Post by dom1959 » Fri Feb 12, 2010 7:39 am

pstreet wrote:
Any clues as to why this is?
The config.php file needs to be writable.

Have you checked to ensure that the config.php file has write permission?
Is php safe mode on? (this potentially would not allow the file to be written to)
How does your php execute, are scripts run with user permissions? or does it run with webserver permissions? (in this case you may need to make the config.php script writable by 'other', then once it's written remove the 'other' writable permission).

These are just some of the things that could be inhibiting the ability to write to the config.php file (and remember there's also a config.php file under the 'admin' directory that needs to be writable as well).
Does anyone know what goes in the config file?
Yes, the initial definitions that are used throughout OpenCarts operation, such as your base server directory, DB configuration etc. Every answer to questions asked within the install process usually results in information written to this file so that OpenCart can operate.
The config.php file is empty!!!!!!!!!!!!!
Why is that, maybe I need to reinstall the whole thing?

Newbie

Posts

Joined
Mon Feb 08, 2010 1:00 pm

Post by pstreet » Fri Feb 12, 2010 7:42 am

It's empty because it can't be written to obviously!

You need to be checking the reason for why this is. I noticed the first time you said it was empty.

Reinstalling the whole thing is unlikely to fix it! It's not an OpenCart problem, it's an issue with figuring out what permissions are set on your config.php files when they're unzipped and fixing them up accordingly.

If you read the install.txt file Daniel provides you'll notice the following:
2. If you have a Linux/Unix make sure the following folders and files are writable.
chmod 0755 or 0777 image/
chmod 0755 or 0777 image/cache/
chmod 0755 or 0777 image/data/
chmod 0755 or 0777 system/cache/
chmod 0755 or 0777 system/logs/
chmod 0755 or 0777 download/
chmod 0755 or 0777 config.php
chmod 0755 or 0777 admin/config.php
Did you perform this step? Notice how the config.php files are listed in there as well. If that doesn't fix it, then it may be the case that safe mode is on, this needs to be fixed by your hosting provider (they may not turn it off so you're stuck), otherwise it might be the case that you need full write permissions given (in which case 'chmod 0777 config.php' will be needed).

Currently unavailable for freelance work and consulting.


User avatar
New member

Posts

Joined
Tue Nov 03, 2009 2:00 pm
Location - New South Wales, Australia

Post by dom1959 » Fri Feb 12, 2010 8:20 am

pstreet wrote:It's empty because it can't be written to obviously!

You need to be checking the reason for why this is. I noticed the first time you said it was empty.

Reinstalling the whole thing is unlikely to fix it! It's not an OpenCart problem, it's an issue with figuring out what permissions are set on your config.php files when they're unzipped and fixing them up accordingly.

If you read the install.txt file Daniel provides you'll notice the following:
2. If you have a Linux/Unix make sure the following folders and files are writable.
chmod 0755 or 0777 image/
chmod 0755 or 0777 image/cache/
chmod 0755 or 0777 image/data/
chmod 0755 or 0777 system/cache/
chmod 0755 or 0777 system/logs/
chmod 0755 or 0777 download/
chmod 0755 or 0777 config.php
chmod 0755 or 0777 admin/config.php
Did you perform this step? Notice how the config.php files are listed in there as well. If that doesn't fix it, then it may be the case that safe mode is on, this needs to be fixed by your hosting provider (they may not turn it off so you're stuck), otherwise it might be the case that you need full write permissions given (in which case 'chmod 0777 config.php' will be needed).
I don't have linux, I have windows and I followed everything you said, but now the front store opens fine and now the admin page does not want to go anywhere, just a blank page

Please help

Newbie

Posts

Joined
Mon Feb 08, 2010 1:00 pm

Post by pstreet » Fri Feb 12, 2010 8:27 am

dom1959 wrote: I don't have linux, I have windows and I followed everything you said, but now the front store opens fine and now the admin page does not want to go anywhere, just a blank page

Please help
Well sounds like some progress has been made if you're seeing the front page :)

It's likely to be the same sort of thing for the admin page, just check and see everything's ok for the 'admin/config.php' file. It'll probably be empty as well when it should really contain settings.

Currently unavailable for freelance work and consulting.


User avatar
New member

Posts

Joined
Tue Nov 03, 2009 2:00 pm
Location - New South Wales, Australia

Post by dom1959 » Fri Feb 12, 2010 8:51 am

pstreet wrote:
dom1959 wrote: I don't have linux, I have windows and I followed everything you said, but now the front store opens fine and now the admin page does not want to go anywhere, just a blank page

Please help
Well sounds like some progress has been made if you're seeing the front page :)

It's likely to be the same sort of thing for the admin page, just check and see everything's ok for the 'admin/config.php' file. It'll probably be empty as well when it should really contain settings.

YES it is empty, which it wasn't before, and followed everything you said, again, but still the same problem

Just getting a blank page again and again, config.php is writable (don't understand)

Newbie

Posts

Joined
Mon Feb 08, 2010 1:00 pm

Post by pstreet » Fri Feb 12, 2010 8:54 am

What version of OpenCart are you using?

I've been using v1.3.2 and I know that it works perfectly in this regard, I haven't checked this out with any of the later versions though. It might be a bug possible in a later version?

Currently unavailable for freelance work and consulting.


User avatar
New member

Posts

Joined
Tue Nov 03, 2009 2:00 pm
Location - New South Wales, Australia

Post by dom1959 » Fri Feb 12, 2010 8:55 am

pstreet wrote:What version of OpenCart are you using?

I've been using v1.3.2 and I know that it works perfectly in this regard, I haven't checked this out with any of the later versions though. It might be a bug possible in a later version?

Opencart 1.4

Newbie

Posts

Joined
Mon Feb 08, 2010 1:00 pm

Post by pstreet » Fri Feb 12, 2010 9:06 am

I'm in the middle of upgrading to v1.4.0 from v1.3.2 (with difficulty as upgrading seems to be painful currently).

The config files I had from v1.3.2 work with v1.4.0, but I haven't tried it from a fresh install from scratch. I'll set up a test site later on today when I get some time and do some testing to see if I can replicate what you're seeing. Might possibly be a bug, but it's too soon to make that a certainty without doing some checking.

It looks like you sorted out the permissions problem based on the fact you can see the front page now, and I think I'm safe to assume you've tried the same fixes on the admin side. Will have a look and let you know, unless someone else gets a chance to check it out first and can enlighten the both of us.

Currently unavailable for freelance work and consulting.


User avatar
New member

Posts

Joined
Tue Nov 03, 2009 2:00 pm
Location - New South Wales, Australia
Who is online

Users browsing this forum: No registered users and 11 guests