SitePoint Sponsor

User Tag List

Page 1 of 8 12345 ... LastLast
Results 1 to 25 of 184

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Oct 2002
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    eZ publish: PHP's Killer App - Part 1

    These comments are in regards to the SitePoint.com article 'eZ publish: PHP's Killer App - Part 1'.

    Can not get into index_admin.php, after entering admin and publish, the url in the address bar takes you to index_admin.php/user/login/login/

    and apache gives you the old internal server error.

    Also you state

    Edit the file sitedir.ini in eZ publish root and set the following variable:


    $siteDir = "C:/phpdev5/www/public/ezpublish_2_2_6/";

    Note the double backslashes are important!

    Shouldn't this be Note the double quotes are important!

    Scot

  2. #2
    Action! filmfoto's Avatar
    Join Date
    Dec 2001
    Location
    Sweden
    Posts
    278
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Link to the article, EzPublish



    Cheers,

  3. #3
    SitePoint Wizard gold trophysilver trophy
    Join Date
    Nov 2000
    Location
    Switzerland
    Posts
    2,479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's two typos I've noticed (my fault - sorry);

    In Point 3.
    The file you need is [eZ publish_root]\publish_mysql.sql, which builds the eZ publish database structure. We also want some sample data to play with, so load the file [eZ publish_root]\data_mysql.sql, which will populate the database.
    The directories should read [eZ publish_root]\sql\publish_mysql.sql and [eZ publish_root]\sql\data_mysql.sql

    In Point 5.
    $siteDir = "C:/phpdev5/www/public/ezpublish_2_2_6/";

    Note the double backslashes are important!
    Just ignore the line 'Note the double backslashes are important!' - meant to delete that.


    Can not get into index_admin.php, after entering admin and publish, the url in the address bar takes you to index_admin.php/user/login/login/

    and apache gives you the old internal server error.
    That sounds like it one of two things;

    - Either the site.ini.php is configured wrong. Are you using phpdev5 and the exact configuration from the article or something different? Which version of Apache are we talking?

    Watch out for these values in particular;

    Code:
    SiteURL=localhost/public/ezpublish_2_2_6
    AdminSiteURL=localhost/public/ezpublish_2_2_6
    UserSiteURL=localhost/public/ezpublish_2_2_6
    
    SiteTmpDir=C:\Windows\Temp
    
    ImageConversionProgram=C:\ImageMagick\convert.exe
    - In php.ini (I hate to say this but...) make sure 'register_globals = On' - ezPublish has to have it.

    Also remember, if you make changes to site.ini.php, you need to delete all the cache files in directory [eZpublish_root]\classes\cache\ after you've made the change.

    The good news is, if you're getting to that point, you're real close - probably just one thing that needs changing.

  4. #4
    SitePoint Wizard gold trophysilver trophy
    Join Date
    Nov 2000
    Location
    Switzerland
    Posts
    2,479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    BTW - a beta of ezPublish 3 has just been released - truly awesome - check it out: http://developer.ez.no/article/articleview/389/

  5. #5
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    eZ publish: PHP's Killer App - Part 1

    These comments are in regards to the SitePoint.com article 'eZ publish: PHP's Killer App - Part 1'.

    Awesome, you did it again Harry. When is the next one out!?
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky

  6. #6
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hehe. DNS problems still, I guess. 404 all around
    Aaron Brazell
    Technosailor



  7. #7
    SitePoint Wizard gold trophysilver trophy
    Join Date
    Nov 2000
    Location
    Switzerland
    Posts
    2,479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome, you did it again Harry. When is the next one out!?
    Many thanks. Ssssh - don't tell anyone but... same time next week.

    hehe. DNS problems still, I guess. 404 all around
    Is index.php in all the URLs? If not, make sure you've rename siti.ini to site.ini.php and otherwise make sure everything is exactly as it appears in the article.

    There's a couple of minor typos (mentioned in the other thread by the same name here) which I've asked Sitepoint to fix but otherwise if you do things exactly like the instructions, you should be fine.

    It's a real tough one to install but worth the perseverance.

  8. #8
    Git-R-Done
    Join Date
    Nov 2001
    Posts
    1,194
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What's on Offer?

    So, blurb aside, what does eZ publish actually have to offer? The easiest way to get answers is to visit the demo site at http://publishdemo.ez.no/, and then login to the back end administration system by heading to http://admin.publishdemo.ez.no/ using:

    username: admin
    password: publish
    I've been trying to login at http://admin.publishdemo.ez.no/ with the username admin and password publish and it isn't letting me in.
    John Saunders

  9. #9
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    eZ publish: PHP's Killer App - Part 1

    These comments are in regards to the SitePoint.com article 'eZ publish: PHP's Killer App - Part 1'.

    Very nicely written, Harry! I'm eager to read the rest of this series!
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  10. #10
    SitePoint Wizard gold trophysilver trophy
    Join Date
    Nov 2000
    Location
    Switzerland
    Posts
    2,479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Unfortunately, it seems the demo allows people to change the default password. Which of course they do ...

    While you wait, you might try the beat demo of version 3: http://admin.beta.ezpublish.no/ - same user name and password (until someone changes it)

  11. #11
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No I meant SitePoint DNS issues. sitepoint.com is 404 for me as is your article.

    Aaron
    Aaron Brazell
    Technosailor



  12. #12
    SitePoint Wizard gold trophysilver trophy
    Join Date
    Nov 2000
    Location
    Switzerland
    Posts
    2,479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! These threads are breeding

  13. #13
    SitePoint Wizard gold trophysilver trophy
    Join Date
    Nov 2000
    Location
    Switzerland
    Posts
    2,479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No I meant SitePoint DNS issues. sitepoint.com is 404 for me as is your article.
    Phew! Paranoia

    Think they're trying to fix this multiple threads thing...

  14. #14
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by HarryF
    These threads are breeding
    Huh?
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  15. #15
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    merged. I think the DNS is screwing this up. It looksfor an article alread in existence. When it doesn't find it (thanks to DNS) it creates another one. Let me know if anymore of these threads pop up and we'll get them all together here.

    Aaron
    Aaron Brazell
    Technosailor



  16. #16
    Wanna-be Apple nut silver trophy M. Johansson's Avatar
    Join Date
    Sep 2000
    Location
    Halmstad, Sweden
    Posts
    7,400
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Sketch
    What inspired you to do this?
    Mattias Johansson
    Short, Swedish, Web Developer

    Buttons and Dog Tags with your custom design:
    FatStatement.com

  17. #17
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the Beetle Baily thread in the Mentor's Clubhouse
    Aaron Brazell
    Technosailor



  18. #18
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Okay... I followed the instructions in the article to the letter and get this:

    First Time I load ezPublish off my localhost, I get:

    Notice: Undefined variable: SectionIDOverride in e:\web\public_html\ezpublish\index.php on line 335

    Notice: Undefined variable: CategoryID in E:\web\public_html\ezpublish\ezarticle\user\frontpage.php on line 199

    Notice: Undefined variable: page_elements in E:\web\public_html\ezpublish\ezarticle\user\frontpage.php on line 210

    Notice: Undefined variable: SiteTitleAppend in E:\web\public_html\ezpublish\ezarticle\user\frontpage.php on line 936

    Notice: Undefined variable: SiteDescriptionOverride in E:\web\public_html\ezpublish\ezarticle\user\frontpage.php on line 937

    Notice: Undefined variable: eZLanguageOverride in E:\web\public_html\ezpublish\ezarticle\user\frontpage.php on line 938

    If I try to access the admin control panel I get:
    Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in e:\web\public_html\ezpublish\classes\cache\7ff2b08ab616c49594616a969147a58e.php on line 20

    Notice: Undefined index: DEBUG in e:\web\public_html\ezpublish\classes\INIFile.php on line 428
    Error:Server does not exist in site
    Error:Database does not exist in site
    Error:User does not exist in site
    Error:Password does not exist in site
    Error:DatabaseImplementation does not exist in site

    Notice: Undefined variable: implementation in e:\web\public_html\ezpublish\classes\ezdb.php on line 175
    Database error: have no support for
    Fatal error: Call to a member function on a non-object in e:\web\public_html\ezpublish\ezsession\classes\ezsession.php on line 237

    If I clear the cache, I can get in but it just gets worse from there....

    And yes, Register_Globals is on - http://4.47.136.10/info.php
    Wayne Luke
    ------------


  19. #19
    SitePoint Wizard samsm's Avatar
    Join Date
    Nov 2001
    Location
    Atlanta, GA, USA
    Posts
    5,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't get the admin/publish l/p to work on http://admin.publishdemo.ez.no/

    Is there something I'm doing wrong, or is it down?
    Using your unpaid time to add free content to SitePoint Pty Ltd's portfolio?

  20. #20
    SitePoint Wizard gold trophysilver trophy
    Join Date
    Nov 2000
    Location
    Switzerland
    Posts
    2,479
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Wayne,

    Apologies for delay - I´m offically on holiday right now. Checking out your PHP config, it looks perfect. I think the problem is here;

    If I try to access the admin control panel I get:
    Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in e:\web\public_html\ezpublish\classes\cache\7ff2b08ab616c49594616a969147a58e.php on line 20
    Looking back at the article, there´s one more damn typo. In the instructions for site.ini.php, I put;

    Code:
    SiteTmpDir=C:\Windows\temp
    This should be

    Code:
    SiteTmpDir=C:/Windows/temp
    Notice forward slash not back slash.

    Or in your case;

    Code:
    SiteTmpDir=D:/Windows/temp
    Sincerest apologies - I must have been through those install instructions like 20 times, and failed to spot that one. Anyway - will ask Sitepoint to fix the article and many thanks for spotting this.

    Samsm;

    The eZ publish demo allows users to change the admin password (the default is adminublish). eZ systems reset the demo at least once a day, but it´s the same problem like vBulletin have.

    If your waiting for it to reset, see if you can get into the version 3.0 beta demo, using the same login, at;

    http://admin.beta.ezpublish.no/

  21. #21
    SitePoint Enthusiast
    Join Date
    Nov 2002
    Location
    Bavaria
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up Great article!

    Thanks, Harry, for being one of the first to write a detailed EZPublish tutorial outside of the EZ Systems website. I am developing an EZPublish site for my own small business, so I am really looking forward to your subsequent articles. Know that your writing is most helpful and your thoughts about EZP being THE "Killer App" are right on the money, IMHO.

    A few thoughts:

    Have you experimented any with completing the checkout/payment scripts for the EZTrade module? I am currently working (very slowly) on an integrated Paypal IPN-enabled interface for the EZTrade cart. The payment part seems easy enough, but integrating the IPN return strings into the EZP database structure will be more difficult for me (new to PHP scripting). Have you tried anything like this, or are you interested in collaborating on such a project?

    Paulo Almeida submitted an XML-RPC client which allows bulk image uploads in the EZImageCatalog -- the existing one-at-a-time upload method is a major restriction, IMHO. I have yet to get it working, but I am working with my ISP as I think this might be a problem external to EZP. Download the client here. Any other solutions to this constraint that you know of?

    Look here for information on a script to convert PHP-Nuke content to EZPublish.

    Thanks again for your great article. I am looking forward to your future installments, as well as the release of EZPublish 3.0.

    Bob

  22. #22
    Shiver me timbers!! anthony_irl's Avatar
    Join Date
    Aug 1999
    Location
    Dublin, Ireland
    Posts
    495
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great article Harry. Just getting a couple of errors. When I try to access the normal user section eg. http://127.0.0.1/ezpublish/index.php I get an error related to calling of a xmltree() method. I tracked this down to xmllib but don't know what version etc and how to install it. Took a look at the instructions after downloading xmllib and it seems to need to be compiled etc. Any ideas? Thanks.
    Anthony - How's tings?

    24 hours in a day, 24 beers in a case. Coincidence? I think not.
    Contact me by: PM Email NEW! Carrier Pigeon

  23. #23
    SitePoint Enthusiast
    Join Date
    Nov 2002
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What's the tax on the door ?

    Hi,

    I have been browsing around the ez site and cannot find the price for a professional license (to repackage the software and sell as my own). Anyone out there figured this out ? (apologies if I am being thick!)

    Rich

  24. #24
    SitePoint Member
    Join Date
    Nov 2002
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation MySQL Errors starting ezpublish

    I'm trying to get ezpublish running on my RedHat Linux 8. When I browse over to localhost/ezpublish/index_admin.php I receive several "Warning access denied for user publish@localhost" messages.

    I checked the database name, userid and password in the site.ini.php file and all looks ok. I have no problems connecting to the database using the command line "mysql -u publish -p publish". Mysql prompts for the password then I'm in. I can display the tables without any trouble.

    Do you have any idea where I should look to solve this problem?

    Thanks.....brian

  25. #25
    SitePoint Wizard masm50's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    2,508
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Going to be anything on writing modules?

    Harry,

    I'm waiting eagerly for the next installment of this series!

    It's great to see some tutorials on eZpublish from other sources, as the documentation on ez.no is pretty sparse.

    Which brings me to asking whether you will cover how to add modules to eZpublish later on?

    Although I don't recommend bothering to go into anything to do with templates - the new version (3) is going to have a completely rewritten template system.

    Cheers

    Tim


Bookmarks

Posting Permissions

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