Forums / Install & configuration / Phpadsnew setup problem

Phpadsnew setup problem

Author Message

John Smith

Wednesday 16 March 2005 4:02:02 am

the steps I have been trying are:

- Setup eZ publish virtual host
fine

- add special rewrite rule:

# eZ publish 3.4.x :
RewriteRule !((^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/var/cache|^/extension/.*/design|^/kernel/setup/packages|^/packages|^/share/icons).*\.(gif|css|jpg|png|jar|js|ico|pdf|swf))|^/extension/phpadsnew/phpadsnew/.*)$ /index.php

works fine with some addition or deletion of open or close brackets

- Copy extension into extenstion folder
fine

- Activate extenstion admin->setup->extensions
fine

- Setup phpadsnew
I am using url http://mydesign/extension/phpadsnew/phpadsnew/admin/install.php
giving me error message
"phpAdsNew is already installed on this system. If you want to configure it go to <b>settings interface</b>"

setting interface page is asking for username and password. I dont know why i am getting this page instead of installation page before installing anything even database.

Please help

cheers

Jack Rackham

Wednesday 16 March 2005 5:32:01 am

I prefer to run a separate php Phpadsnew install, it gives you more control.
Download the original form here:
http://sourceforge.net/projects/phpadsnew/

John Smith

Wednesday 16 March 2005 6:03:17 am

where is the database dump of phpadsnew?

Jack Rackham

Wednesday 16 March 2005 6:15:49 am

If you mean the original phpadsnew there is no need to manually dump the database.
Follow installer:
http://phpadsnew.sourceforge.net/download/administrator-guide.pdf

Brendan Pike

Wednesday 16 March 2005 6:55:49 am

Hi

Sometime back I also did an installation of this extenstion and ran into the exact problem you did. I feel it is a faulty distribution of phpadsnew, I was unable to get the setup to complete no matter what I tried, but once I replaced it with a fresh copy of phpadsnew it installed fine.

I came across other difficulties which I have not yet got around to tackeling. I also started this other thread whcih may be of interest to you.
http://www.ez.no/community/forum/developer/phpadsnew_extension

I'f I can find support (no one has expressed interested yet) I'd like to iron these issues out and create some clearer documentation that should make things easier for future users.

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

John Smith

Wednesday 16 March 2005 7:25:00 am

thanks mate, i will have a go, then i will come back to you if needed.

John Smith

Wednesday 16 March 2005 8:35:56 am

Hi, Brendan

What you have said, is right, the installation is working fine, thanks for your kind help mate.

One thing more, now how to embed or show the banner in header of my ezpublish site. Can you please guide me.

cheers

Jack Rackham

Wednesday 16 March 2005 11:51:09 am

If you have installed the not stable extension version of phpadsnew then you can.

-

=============
Usage
=============
- Place template code in any template
Sample 1:
-----------------------------------
{let data=phpadsnew( 'keyword', 'html')}
{$data.html}
{/let}
-----------------------------------
Sample 2:
-----------------------------------
{default data=phpadsnew($:item.node_id, 'link', $:item.url_alias|ezurl(no))}
<a href={$data.ext_url|ezroot}>{$:item.name}</a>
{include uri="design:phpadsnew/viewcount.tpl" data=$data}
{/default}
{* The keyword "node2" in phpadsnew is linked to object with node_id 2*}
-----------------------------------

- Or create a javascript export in phpadsnew (Invocationcode - remote javascript......)

John Smith

Thursday 17 March 2005 12:55:25 am

Hi Haavard,

Thanks for your reply, well i am not interested in javascript.

Can you please explain the code written by you in brief.

Cheers

Christiane Kloss

Thursday 17 March 2005 3:51:19 am

Hi John,

I'got stuck at the same point.
The template code is from the readme.

I tried it, but it didn't show anything.
Havn't figured out yet why.

A working example of a banner-configuration in phpadsnew in addition to the template-code would be really helpful.

Christiane

(I posted on Brendans thread as well)

John Smith

Thursday 17 March 2005 4:30:26 am

hi Christiane,

You are quite right. If you get any feedback from the other end, please let me know as well, because i stuck here for sometime.

cheers.

Jack Rackham

Thursday 17 March 2005 10:52:26 am

I don't know how to use that code. Why don't you ask the guy who made this extension? :)

Björn Dieding - bjoern@xrow.de
AIM: BjoernDieding
MSN: ernie123@gmx.de
ICQ: 176927179
YIM: bdieding
SKYPE: BjoernDieding

Source: http://xrow.de/home/xrow_gbr/contact

Brendan Pike

Thursday 17 March 2005 5:23:15 pm

I have already spoken to Björn and he has let me know that he has not currently in a position to assist with this, so please don't harass him as he has already been very good to the community with his time in his providing contributions and forum support. Thus my appeal to the wider community in resolving this and creating up to date documentation. btw. Björn does have a pay support program if anyone needs urgent resolution.

I do have another programmer interested in helping however not until they clear a project so I can't give dates but I am hoping it's not far off.

Don't forget to scribble your thoughts through this process and contribute it towards the future install doc in this thread
http://ez.no/community/forum/developer/phpadsnew_extension

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Adrian Movileanu

Saturday 11 June 2005 5:49:14 am

I am having an issue with upgrading to version 2.04

I get the following error message:
==================================================
Server and integrity check
phpAdsNew has checked the integrity of the files you uploaded to the server and has checked wether the server is capable of running phpAdsNew. The following item(s) need your attention before you can continue.

Before you continue, please correct these potential problems:

The following item(s) need to be corrected before you can install phpAdsNew. If you have any questions about this error message, please read the Administrator guide, which is part of the package you downloaded.

* The file /libraries/lib-xmlrpc.inc.php is older than the one that is supposed to be used with this version of phpAdsNew. Please try to upload a new copy of this file to the server.

If you are not able to correct the problems listed above, please contact the administrator of the server you are trying to install phpAdsNew on. The administrator of the server may be able to help you.
=================================================

I have tried it a couple of different times and it fails at the same point. Not sure where to go from here.

Help please!!!!!