Forums / Install & configuration / Problems using phpadsnew extension

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.

eZ debug

Timing: Jan 19 2025 15:23:41
Script start
Timing: Jan 19 2025 15:23:41
Module start 'content'
Timing: Jan 19 2025 15:23:41
Module end 'content'
Timing: Jan 19 2025 15:23:42
Script end

Main resources:

Total runtime0.7639 sec
Peak memory usage4,096.0000 KB
Database Queries206

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.0781180.8203
Module start 'content' 0.00720.6456 769.8984592.1875
Module end 'content' 0.65280.1110 1,362.0859341.6875
Script end 0.7638  1,703.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.5026210.0002
Check MTime0.00140.1891210.0001
Mysql Total
Database connection0.00070.085410.0007
Mysqli_queries0.686389.83972060.0033
Looping result0.00180.23562040.0000
Template Total0.738896.720.3694
Template load0.00170.220720.0008
Template processing0.737196.489720.3685
Template load and register function0.00010.013210.0001
states
state_id_array0.00070.097410.0007
state_identifier_array0.00070.094120.0004
Override
Cache load0.00150.1907520.0000
Sytem overhead
Fetch class attribute can translate value0.00140.185830.0005
Fetch class attribute name0.00090.117080.0001
XML
Image XML parsing0.00090.116230.0003
class_abstraction
Instantiating content class attribute0.00000.0030100.0000
General
dbfile0.00530.6988270.0002
String conversion0.00000.001130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs