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 [email protected]

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 [email protected]

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 [email protected]

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.