Page 1 of 2 12 LastLast
Results 1 to 10 of 1859

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: K, ive been trying this for days.

    Also from Hira's instructions:
    [a] Wordpress and Zen-Cart into separate directories.

    [Path of Zen-Cart]
    /var/www/vhost/example.com/public_html/(shop/)

    [Path of WordPress]
    /var/www/vhost/example.com/public_html/blog/
    [WordPress admin URL]
    http://example.com/blog/wp-admin/eg)

    ============================================

    [b] Wordpress and Zen-Cart into the same directory. eg)
    [Path of Zen-Cart]
    /var/www/vhost/example.com/public_html/

    [Path of WordPress]
    /var/www/vhost/example.com/public_html/
    [WordPress admin URL]
    http://example.com/wp-admin/

  2. #2
    Join Date
    Jun 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: K, ive been trying this for days.

    Quote Originally Posted by DivaVocals View Post
    Also from Hira's instructions:
    [a] Wordpress and Zen-Cart into separate directories.

    [Path of Zen-Cart]
    /var/www/vhost/example.com/public_html/(shop/)

    [Path of WordPress]
    /var/www/vhost/example.com/public_html/blog/
    [WordPress admin URL]
    http://example.com/blog/wp-admin/eg)

    ============================================

    [b] Wordpress and Zen-Cart into the same directory. eg)
    [Path of Zen-Cart]
    /var/www/vhost/example.com/public_html/

    [Path of WordPress]
    /var/www/vhost/example.com/public_html/
    [WordPress admin URL]
    http://example.com/wp-admin/
    I have tried the posts 438, and i have read the readme. I have also tried installing wordpress into a seperate directory. Three times. If the answer is in 438-442, then i have missed it. Can anyone give me an idea of what the problem is based on the information i have provided?

  3. #3
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Wordpress On Zencart / Released

    The point DivaVocals (who pretty much singlehandedly keeps this thread active and useful out of the goodness of his heart) is making is that your abspath looks wrong.

    You don't need to understand why. Look at post 440. It will tell you how to find out what the abspath should look like for your server.

    Quote Originally Posted by thebasher View Post
    In your ZenCart configure.php (includes/configure.php) what does it say here:

    Code:
    // * 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', 'WHAT DOES IT SAY HERE?');
    This should be around line 40. This is the direct path to your ZC. If you are putting WP in it's own directory, as in "blog", all you would have to do in your wordpress-config.php file is add the path to ZC and then add "blog/" at the end.

    The wordpress-config.php is part of the WOZ install and is located in includes/extra_configures/wordpress-config.php. This is the file where you need to define the path to WP.
    Nik

  4. #4
    Join Date
    Mar 2006
    Location
    Sacramento, CA
    Posts
    93
    Plugin Contributions
    0

    Default Need help getting around my existing htaccess rewrites

    Hi there. All the posts I've seen here regarding rewrites seem to relate to the Wordpress pages. I need help getting around my existing rewrites I'm using for my zencart urls before I can even get into my Wordpress installation.

    I've installed Wordpress in a subdirectory of my site, but my htaccess file is rewriting the url so I can't even go to the Wordpress admin. Does anyone know the code to add to my htaccess to tell it to NOT rewrite this particular subdirectory filepath. I don't want to change the rest of my rewrites - just the path to wordpress.

    Thank you!

  5. #5

    Default Re: K, ive been trying this for days.

    Quote Originally Posted by proteus View Post
    Can anyone give me an idea of what the problem is based on the information i have provided?
    I ran into the same type of problem. If you have both Zen Cart and Wordpress in the root, try these:

    Code:
    define ('ABSPATH','./');
    
    $woz_install=0;
    
    if (file_exists(ABSPATH.'wp-config.php')) {
        $woz_install=1;
        define('WP_USE_THEMES', true);
        $wp_did_header = true;
    
        require_once(ABSPATH.'wp-config.php');

  6. #6
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: K, ive been trying this for days.

    Quote Originally Posted by proteus View Post
    Can anyone give me an idea of what the problem is based on the information i have provided?
    You have indeed missed it.. Your ABSPATH is wrong because you entered a relative path based on your site's URL. The ABSOLUTE PATH (ABSPATH) that is needed in the wp-config.php file is the actual location on your hosts webserver where your files are located. You can find this by opening your ZenCart configure.php file. Then go back to the posts I suggested or read niccol's post.. It explains what to do next..

    Absolute path



    Also known as the full path, the absolute path is a path that contains the root directory and all other sub directories required to get into the directory you're currently in or wish to get to. Below is a basic example of a generic path and an absolute path.

    Absolute path:
    /home/users/c/computerhope/public_html/cgi-bin

    Non absolute path (relative path):
    public_html/cgi-bin As can be seen from the above example, the absolute path contains the full path instead of a few directories contained within the absolute path.

    Read more: http://www.computerhope.com/jargon/a...xzz0HVnuFoPv&C
    More info..

    To find out what your absolute path is[1], copy the following code into a text editor (i.e. Notepad, TextEdit etc), save the file as a .php naming it whatever you want (i.e anyfilename.php.).

    Using your FTP software, ftp the file you have just created to your root folder. Open a web browser and type in http://www.yourdomain.com/filename.php.

    Code:
    <?php   $path = getcwd();   echo "Your Absoluthe Path is: ";   echo $path;?>
    IMPORTANT: For security reasons, delete this file as soon as you have ascertained the information you require.
    Hope this all helps..
    Last edited by DivaVocals; 5 Jun 2009 at 01:49 AM.

  7. #7
    Join Date
    Mar 2006
    Location
    Sacramento, CA
    Posts
    93
    Plugin Contributions
    0

    Default Re: K, ive been trying this for days.

    Nevermind - what I was going to say was already said, and I don't see where to delete this. :-)
    Last edited by k4satin; 7 Jun 2009 at 08:07 PM.

  8. #8
    Join Date
    Mar 2006
    Location
    Sacramento, CA
    Posts
    93
    Plugin Contributions
    0

    Default Re: Wordpress On Zencart / Released

    My installation went alright more or less, but having WP installed messes up several existing things on my site. The most critical is that I receive the following errors:

    Parse error: syntax error, unexpected T_STRING in .../includes/classes/seo.url.php(1067) : eval()'d code on line 7

    Parse error: syntax error, unexpected T_STRING in .../includes/classes/seo.url.php(1067) : eval()'d code on line 7

    Line 1067 of my seo.url.php reads:

    eval("$cache_data");

    I think line 7 is referring to wordpress-config.php


    Any suggestions?

  9. #9

    Default Re: Wordpress On Zencart / Released

    I am having a similar issue.
    So far only on the ZenCard/WP blog combination page, I have an error that shows at the top of the page.

    Here is the link: http://lasersurplusparts.com/?page_id=2

    Here is the error:
    Warning: fopen(ip2country.csv) [function.fopen]: failed to open stream: No such file or directory in /site/nav/public_html/lasersurplusparts/includes/ipcheck.php on line 12

    Warning: fgets(): supplied argument is not a valid stream resource in /site/nav/public_html/lasersurplusparts/includes/ipcheck.php on line 16

    Warning: rewind(): supplied argument is not a valid stream resource in /site/nav/public_html/lasersurplusparts/includes/ipcheck.php on line 34

    Any ideas?

    Thanks

  10. #10

    Default Re: Wordpress On Zencart / Released

    I found the problem, Its due to this mod ""geo4zen".
    After removing the edits, everything is hunky dory.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. EasyPopulate 4.0 Support Thread
    By chadderuski in forum Addon Admin Tools
    Replies: 3672
    Last Post: 11 Sep 2025, 05:07 PM
  3. WordPress® for Zen Cart® (wp4zen) [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 109
    Last Post: 1 Dec 2024, 01:36 PM
  4. PurpleShades Support Thread
    By kobra in forum Addon Templates
    Replies: 122
    Last Post: 18 May 2011, 07:18 PM
  5. ZJ Black 2 support thread
    By Liamv in forum Addon Templates
    Replies: 1
    Last Post: 15 Feb 2010, 02:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg