Problems using phpadsnew extension

Author Message

Valenti salas

Sunday 12 December 2004 4:59:04 pm

Hi,

I'm trying to use the phpadsnew extension from the contributions section.
The problem is that i have no virtual host in my server.
I have installed the package in the directory www.mysite.com/ezpublish-3.4.2/extension, but after I have activated the extension in the admin section I can't use this extension.

How i have to do to access to the phpadsnew located in /extension/phpadsnew/phpadsnew?

it's necesary to configure the server in virtual host mode?

And, after the last go ok, where I have to create de tables for the extension, in the same db of ezpublish?

many thanks.

Björn Dieding@xrow.de

Sunday 12 December 2004 6:34:58 pm

You might need a little more expericence to set it up ...

http://pubsvn.ez.no/viewcvs/community/trunk/extension/phpadsnew/README.txt?rev=320&view=markup

Did you follow the steps to set it up?

It might run in non vhost mode... but we never tried.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Valenti salas

Monday 13 December 2004 12:11:58 pm

the steps I have been trying are:

<b>- Setup eZ publish virtual host</b>
I think it's ok.

<b>- 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
</b>
I think it's ok

<b>- Copy extension into extenstion folder</b>
Sure it's ok

<b>- Activate extenstion admin->setup->extensions</b>
Sure it's ok

<b>- Setup phpadsnew</b>
problem on this step. What is de meaning of setup phpadsnew? access to .../phpadsnew and setup like a normal installation on phpadsnew without ez?
And if it's true, my problem is how to access to the adress where is located the index.php of phpadsnew. I think that maybe the problem is in the setup of virtual host mode.

<b>- Insert database dump of phpadsnew</b>
here I have another problem, dump of what database? maybe after setup phpadsnew I have to copy the tables created in the database in the ez database?

Björn Dieding@xrow.de

Monday 13 December 2004 1:28:52 pm

phpads runs independant from eZ so you are close o get it to run

you just missed to setup phpads...

Look in the doc of phpads it is explained there how to set it up...

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Valenti salas

Monday 13 December 2004 2:01:43 pm

oh, i'm starting to understand.

but, I have another installation of phpadsnew in a subdomain of the server. Can I use this installation changing the config settings in the ez phpadsnew extension directory to refer to it? or I must to use the phpadsnew that comes with the extension??

many thanks.

Björn Dieding@xrow.de

Monday 13 December 2004 2:16:55 pm

you should be able to use your current db...

though you need to use the scoures in the extension, because otherwise eZ does not know where phpads is

We need this fixed location to create urls and create views for banner ads...

 

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Valenti salas

Tuesday 14 December 2004 12:17:43 pm

Tanks.

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 22:27:19
Script start
Timing: Jan 18 2025 22:27:19
Module start 'layout'
Timing: Jan 18 2025 22:27:19
Module start 'content'
Timing: Jan 18 2025 22:27:19
Module end 'content'
Timing: Jan 18 2025 22:27:19
Script end

Main resources:

Total runtime0.6144 sec
Peak memory usage4,096.0000 KB
Database Queries69

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.1719152.6406
Module start 'layout' 0.00470.0024 741.812539.4766
Module start 'content' 0.00710.6057 781.2891587.0938
Module end 'content' 0.61270.0016 1,368.382816.7656
Script end 0.6144  1,385.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5173160.0002
Check MTime0.00130.2071160.0001
Mysql Total
Database connection0.00080.126510.0008
Mysqli_queries0.543488.4377690.0079
Looping result0.00070.1148670.0000
Template Total0.584495.120.2922
Template load0.00240.389020.0012
Template processing0.582094.724520.2910
Template load and register function0.00030.043510.0003
states
state_id_array0.00110.177110.0011
state_identifier_array0.00080.130020.0004
Override
Cache load0.00210.3460520.0000
Sytem overhead
Fetch class attribute can translate value0.00060.097820.0003
Fetch class attribute name0.00190.305280.0002
XML
Image XML parsing0.00080.126820.0004
class_abstraction
Instantiating content class attribute0.00000.0055100.0000
General
dbfile0.00170.2712160.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs