Forums / Templates, Stylesheets, Page Layout / Admin works fine, shop doesnt

Admin works fine, shop doesnt

Locked

Views: 3,452

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
17 Jan 2008, 7:53 PM
#1
jwhalley avatar

jwhalley

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Admin works fine, shop doesnt

Zen creators,
I must say many thanks for your work from what I see so far! It seems a great product so far!
Just a quicky, http://MY DOMAIN.com/store/index.php?main_page=
that is where I am linked to after setup etc and from the admin page to view my site, however its blank!
I have tried /index.php etc.. but still blank!
Admin part works fine just I cant see anything on the customer front... any ideas?
Thanks

17 Jan 2008, 8:42 PM
#2
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Admin works fine, shop doesnt

Pls check includes/configure.php

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

17 Jan 2008, 9:37 PM
#3
jwhalley avatar

jwhalley

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Re: Admin works fine, shop doesnt

Thanks for your reply! I am using filezilla, I come to edit permissions to just leave on readonly and take away other permissions, but it wont let me... thanks

17 Jan 2008, 10:15 PM
#4
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Admin works fine, shop doesnt

You better try
net2ftp.com and if that doesnt works either
Ask you host

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

18 Jan 2008, 1:50 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: Admin works fine, shop doesnt

superprg:

You better try
net2ftp.com
I don't think I'd recommend net2ftp unless it's a last-resort. But if that's the case, then a better host would be a better solution.

You're better off using your hosting company's control panel to change permissions if your FTP program won't let you.
FAQs:
https://www.zen-cart.com/tutorials/index.php?article=9
https://www.zen-cart.com/tutorials/index.php?article=148

.
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.

18 Jan 2008, 1:54 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Admin works fine, shop doesnt

jwhalley:

... and from the admin page to view my site, however its blank!
I have tried /index.php etc.. but still blank!
Admin part works fine just I cant see anything on the customer front... any ideas?This suggests that some of the settings in your /admin/includes/configure.php file are incorrect.

I recommend checking these for accuracy: ```
define('HTTP_CATALOG_SERVER', 'http://www.your_domain.com');
define('HTTPS_CATALOG_SERVER', 'https://www.your_domain.com');

define('DIR_WS_CATALOG', '/store/');
define('DIR_WS_HTTPS_CATALOG', '/store/');

define('DIR_FS_CATALOG', '/actual/physical/path/to/zencart/store/');


Maybe you need to post both your /includes/configure.php and /admin/includes/configure.php file contents here for feedback (don't post your password though).

.
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.

18 Jan 2008, 9:11 AM
#7
jwhalley avatar

jwhalley

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Re: Admin works fine, shop doesnt

An error has occured:
Unable to execute site command chmod 0400 /htdocs/store/includes/configure.php. Note that the CHMOD command is only available on Unix FTP servers, not on Windows FTP servers.

Go back or Go to the login page

  • Am I right in saying that it should be Unix based server? hehe
    thanks for your help guys
18 Jan 2008, 9:52 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: Admin works fine, shop doesnt

jwhalley:

An error has occured:
Unable to execute site command chmod 0400 /htdocs/store/includes/configure.php. Note that the CHMOD command is only available on Unix FTP servers, not on Windows FTP servers.

You'll probably have to ask your hosting company for assistance in changing file permissions on your Windows host: https://www.zen-cart.com/tutorials/index.php?article=9

.

.
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.

18 Jan 2008, 1:34 PM
#9
jwhalley avatar

jwhalley

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Re: Admin works fine, shop doesnt

Thanks guys, have contacted streamline.
Current configure.php in includes is as follows;

<?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://commerce.corfu-sailing-events.com'); define('HTTPS_SERVER', 'https:/'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/commerce.corfu-sailing-events.com/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', 'e:/domains/c/commerce.corfu-sailing-events.com/user/htdocs/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'mysql12.streamline.net'); define('DB_SERVER_USERNAME', 'corfusai'); define('DB_SERVER_PASSWORD', 'MY PASSWORD'); define('DB_DATABASE', 'corfusai'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', 'e:/domains/c/commerce.corfu-sailing-events.com/user/htdocs/store/cache'); // EOF
18 Jan 2008, 2:23 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: Admin works fine, shop doesnt

That looks fine for your /includes/configure.php file contents.
But what about your /admin/includes/configure.php file?

.
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.

18 Jan 2008, 3:19 PM
#11
jwhalley avatar

jwhalley

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Re: Admin works fine, shop doesnt

Thanks again,
here is theadmin/includes...

<?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // Main webserver: eg-http://www.your_domain.com - // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings * * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following: */ define('HTTP_SERVER', 'http://commerce.corfu-sailing-events.com'); define('HTTPS_SERVER', 'https:/'); define('HTTP_CATALOG_SERVER', 'http://commerce.corfu-sailing-events.com'); define('HTTPS_CATALOG_SERVER', 'https:/'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'false'); define('ENABLE_SSL_ADMIN', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', '/store/admin/'); define('DIR_WS_CATALOG', '/store/'); define('DIR_WS_HTTPS_ADMIN', '/commerce.corfu-sailing-events.com/store/admin/'); define('DIR_WS_HTTPS_CATALOG', '/commerce.corfu-sailing-events.com/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', 'e:/domains/c/commerce.corfu-sailing-events.com/user/htdocs/store/admin/'); define('DIR_FS_CATALOG', 'e:/domains/c/commerce.corfu-sailing-events.com/user/htdocs/store/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'mysql12.streamline.net'); define('DB_SERVER_USERNAME', 'corfusai'); define('DB_SERVER_PASSWORD', 'MY PASSWORD '); define('DB_DATABASE', 'corfusai'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', 'e:/domains/c/commerce.corfu-sailing-events.com/user/htdocs/store/cache'); // EOF
18 Jan 2008, 6:39 PM
#12
drbyte avatar

drbyte

Sensei

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

Re: Admin works fine, shop doesnt

What happens if you follow step 2(a) of this FAQ:
https://www.zen-cart.com/tutorials/index.php?article=82

.
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.

19 Jan 2008, 3:57 PM
#13
jwhalley avatar

jwhalley

New Zenner

Join Date:
Jan 2008
Posts:
6
Plugin Contributions:
0

Re: Admin works fine, shop doesnt

Hi guys,
I have sent a PM dr Byte if that is ok, if not;
http://esales.corfu-sailing-events.com/zen/index.php
Basically, everything is none formated now im on a linux server, dont know whats happening with that. I was told by streamline hosting that I would need one to run Zen Cart and to edit permissions.
Now when I run the site, on admin or normal customer mode, it leaves me with the fact that there is no formating and no colours or organisation if you get what I mean, compared to what I did see before on the admin page in the nice green colours, now its just a basic html near list!
Thanks for your help!

19 Jan 2008, 4:14 PM
#14
drbyte avatar

drbyte

Sensei

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

Re: Admin works fine, shop doesnt

jwhalley:

Basically, everything is none formated now im on a linux server, dont know whats happening with that.
...
Now when I run the site, on admin or normal customer mode, it leaves me with the fact that there is no formating and no colours or organisation if you get what I mean, compared to what I did see before on the admin page in the nice green colours, now its just a basic html near list!FAQ: https://www.zen-cart.com/tutorials/index.php?article=235

.
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.