If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Getting the page suggesting to check configure files

Getting the page suggesting to check configure files

Started by keneso on 8 May 2012, 6:56 PM · Views: 1,311

Results 1 to 14 of 14
8 May 2012, 7:24 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #2 by stevesh

Every time I've seen that page, it turned out that the paths in the configure.php file(s) were wrong. Try posting the contents of includes/configure.php after X'ing out the database name, login and password.

8 May 2012, 10:30 PM
#4
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Post #4 by keneso

There seems to be still a couple problems:
The hosting fixed the front end, but the admin area is still unaccessible.
Also on the home page I get the warning about missing sessions folder, prompting to create one, I ran the fix_cache_key, and it reports:
"No changes required.
Exiting."
as the database path is the same as the one in configure file.
I have contacted the hosting again, and they say might be a script issue.

8 May 2012, 10:41 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #5 by drbyte

Let's back up a bit. Actually a lot.

What were you doing to the site BEFORE any of this started?

These symptoms suggest that you've got damaged files, and/or you've changed things in/on the server, and/or you've changed paths/servers, etc.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 May 2012, 8:36 AM
#6
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Post #6 by keneso

On may 3 I made a db back-up thru phpmyadmin.
Then yesterday the owner of the site who only uses the admin backend to manage the site called me saying about the problem, and he states he did the usual stuff (loading products, checking orders, etc.); I do know he doesn't mess with files.
I know I didn't do anything besides the db back-up.

I just checked back with the hosting, and they fixed the admin side as well.

Now I do get to the login page, but can't login with my credentials, and there is the warning message on the home page about the sessions folder, I reran the fix_cache_key, and again it says paths are the same, and no changes needed.

Thank you

9 May 2012, 6:34 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #7 by drbyte

If you look at the error message shown on the screen you'll see that the path comes from your Admin->Configuration->Sessions->Session Write Directory setting.

And when you compare that with the paths used in your configure.php you'll see that they don't match.

You need to fix your admin setting to match what you've got in your configure.php files. Then the error message will go away.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

9 May 2012, 8:40 PM
#8
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Post #8 by keneso

Thank you.

Unfortunatelly like said in previous post I do access the login page, but can't login, it says:
"security error during access"
I tried having the system to send new password, and it doesn't send the email, I also tried changing the email in phpmyadmin, but no luck.
I'd guess it is for security, but I can't see the sessions, and the email_archive tables?

Any idea how to get back access?

9 May 2012, 9:54 PM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #9 by drbyte

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 May 2012, 3:50 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #11 by drbyte

You keep saying that "the hosting fixed it".

What EXACTLY did they do?
It seems that they've been messing around with where the site is located on the server, but not properly updating everything.
You really ought to get them to tell you EXACTLY what's been going on and why.

As for manually fixing the issue, use phpMyAdmin to browse the "configuration" table. Find the "configuration_key" named SESSION_WRITE_DIRECTORY and fix the path in the "configuration_value" field for that record so that it matches what you've got set for DIR_FS_SQL_CACHE in your configure.php files.
The fix_cache_key tool should do that for you, but something on your site is obviously preventing it from doing that.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

10 May 2012, 8:31 AM
#12
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Post #12 by keneso

Than you very much, my appreciation for your patience, and guidance (as usual).

The paths did not match indeed, by fixing that it fixed the login issue as well (I guess you knew that).

I have different paths for the DIR_FS_SQL_CACHE in the two configure.php files, the one matching the database is the one in admin/includes, while the other is different, is that ok, or should I have it fixed?

10 May 2012, 8:34 AM
#13
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #13 by rodg

Fix both.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.