Support > cpg1.5 plugin contributions

Android Coppermine Gallery Plugin and application (Upload Photos and Videos)

<< < (8/9) > >>

ISANexusDev:

--- Quote from: Cynos on November 30, 2015, 11:20:52 am ---Hello,

Thank you for this plug in, it looks great.

I have an issue, I can't use it.

- install both plug in and apk was easy
- I tested I can access to the plug in with its own adress path
- When I try to use Androidcpg onto the mobile, it returns "host doesn't contain a coppermine gallery".

* I use joomla 3 and last release of CPG vith the joomla CPG tunnel.
* I don't yet have a domain attached to the site, but I can access with the server adress with no problem
* I can access to coppermine with two adresses
server_adress.fr/index.php/cpg (joomla wrapper using tunnel)
server_adress.fr/galerie (direct access, not using joomla cpg tunnel)
Of course I tried both adresses in androidcpg config onto the mobile, with same result.

Do you think the problem is because I don't still have a domain name attached to CPG ?
Or could it be something else ?

Thanks for help.

--- End quote ---

I think that the problem might be that you need to write an ending slash in the host address, something like this: h t t p://server_adress.fr/galerie/

Also, at h t t p://server_adress.fr/galerie/ should be at least these files: login.php, db_input.php, index.php and delete.php (as it should be in any Coppermine gallery installation folder).

If you are writing the host with the ending slash AND you are sure that the files (said before) are at that url AND still you are getting the same error then please poke me again. :-)

P.S. Most probably the address for joomla bridge to coppermine (h t t p://server_adress.fr/index.php/cpg/) won't work for AndroidCPG. But the direct access address to the gallery should be OK for AndroidCPG to work with no issues.

Cynos:
hello, thanks for reply.

It still don't work, but I understand why now because of your previous post.

- As I said I don't have a domain name for the moment, because the website is still on developpement.

- So androidcpg is trying to access to a "http://adress", but because I use a server adress there's no "http://".
Acces for coppermine is server_adress.fr/galerie (without http://)

Well I need to wait a domain name attached to the website to know if I could use androidcpg.

I want to thant you for the plugin and the time you spent to answer to me.
When I will have the domain name, I will let you know if it works.

ISANexusDev:

--- Quote from: Cynos on December 01, 2015, 12:19:04 am ---hello, thanks for reply.

It still don't work, but I understand why now because of your previous post.

- As I said I don't have a domain name for the moment, because the website is still on developpement.

- So androidcpg is trying to access to a "http://adress", but because I use a server adress there's no "http://".
Acces for coppermine is server_adress.fr/galerie (without http://)

Well I need to wait a domain name attached to the website to know if I could use androidcpg.

I want to thant you for the plugin and the time you spent to answer to me.
When I will have the domain name, I will let you know if it works.

--- End quote ---

Uhmm, I see... AndroidCPG has this logic for hostnames:

If host is provided with prefix http:// or https:// it will be respected as it is, but if the protocol is not given then AndroidCPG will default to http://, in other words, http:// will be added as prefix to the provided hostname in the text field.

Anyway, I think it is possible to connect to your CPG gallery with AndroidCPG without a domain name:

AndroidCPG will work if you connect your phone to your local network (as example connecting with WIFI) and you provide the CPG gallery's IPaddress, as example: h t t p://192.168.43.6/galerie/ , or even from outside your local network (with your phone's own internet connection), if this is your need, by redirecting your router's port to the computer hosting the gallery and connecting to your public IP address with something like this: h t t p://92.48.43.66/galerie/ configured as Host in AndroidCPG.

BTW, and even is not helpful for your case, there are free dynamicDNS services keeping your hostname's IP address updated with the help of scripts, as example: https://freedns.afraid.org , this service in particular is also giving you a free subdomain name, in case you need it. Something like http://androidcpg.mine.bz  ;)

Cynos:
thanks again for answer and for your help.

- well, I will just wait a couple of day, domain name is not still buy, need to be chosen.
and so I will let you know.

- what your explained about local network is interesting, as I have a server at home with his own domain name attached ... if I find time, I will replicate the distant site onto this server and make some tests.

thank you.

Cynos:
Hello, me again ...

So now the site is online and I have a domain name attached to it.

AndroidCPG plugin is installed on CPG config.
I tested AndroidCPG (androidcpg): v1.0 adress with the browser, and I can access to it:
http://domain_adress/galerie/plugins/androidcpg/login.php

I can access to my coppermine gallery with no problem on bot mobile browser or PC browser at; http://domain_adress/galerie/
All the files needed are ok (login.php, db_input.php, index.php,and delete.php).

I use the Theme switch (theme_switch): v1.0 plugin for mobile view.
I use Joomla_to_CPG_v1.2 plugin to synchronise joomla users to cpg users (Joomla 2x-3x to CPG Tunnel)

In the androidCPG app when I test the host (http://domain_adress/galerie/), it returns "host doesn't contain a coppermine gallery"

any advices please ?
thanks.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version