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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 20:47:27
Script start
Timing: Jan 18 2025 20:47:27
Module start 'layout'
Timing: Jan 18 2025 20:47:27
Module start 'content'
Timing: Jan 18 2025 20:47:27
Module end 'content'
Timing: Jan 18 2025 20:47:27
Script end

Main resources:

Total runtime0.0193 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 587.9297152.6250
Module start 'layout' 0.00610.0032 740.554739.4453
Module start 'content' 0.00940.0072 780.0000105.4609
Module end 'content' 0.01660.0027 885.460950.3047
Script end 0.0192  935.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002714.1987140.0002
Check MTime0.00126.0166140.0001
Mysql Total
Database connection0.00084.049010.0008
Mysqli_queries0.002814.669630.0009
Looping result0.00000.066710.0000
Template Total0.002311.910.0023
Template load0.00157.765510.0015
Template processing0.00084.136710.0008
Override
Cache load0.00063.359310.0006
General
dbfile0.002010.478480.0003
String conversion0.00000.039640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs