Giter Club home page Giter Club logo

Comments (9)

alvin101 avatar alvin101 commented on May 22, 2024

I just grabbed the latest zip and did an install, and got the same thing... http://date.go2an.com/

from ph7-social-dating-cms.

ghozzt avatar ghozzt commented on May 22, 2024

Can you clarify a bit as in:

-Operating system / PHP version / PHP plugins / php.ini / Apache config
-access and error log

Please remove sensitive info (no passwords, usernames, ip addresses)

Because it’s needle in the haystack searching this way and certain regulation prevents scanning/fingerprinting remote servers on the internet.

Normally if you follow the install guide, it should work out ok (it did for me) but a minor typo/misconfiguration will prevent it from working.

On 15 Jul 2014, at 21:53, Alvin [email protected] wrote:

I just grabbed the latest zip and did an install, and got the same thing... http://date.go2an.com/

β€”
Reply to this email directly or view it on GitHub.

from ph7-social-dating-cms.

alvin101 avatar alvin101 commented on May 22, 2024

Install is in a subdomain, I dump the content of public in the sub root folder, and placed the other two folders outside that folder, install seemed normal, however there did seem to be a cache problem with the removal of the install folder, after the the removal I still got the please delete install folder message, so I open in a new browser and got the blank page.

I do not yet know what folder the config file is in, so I have not looked at it yet.

here is the info.php result: http://date.go2an.com/info.php

from ph7-social-dating-cms.

alvin101 avatar alvin101 commented on May 22, 2024

Can I get an answer on where the config file is located?

Thanks

from ph7-social-dating-cms.

 avatar commented on May 22, 2024

Hi,

You can locate the config file here: ~/_protected/app/configs/config.ini

On Monday, July 21, 2014, Alvin [email protected] wrote:

Can I get an answer on where the config file is located?

Thanks

β€”
Reply to this email directly or view it on GitHub
#22 (comment)
.

_- If you want to contribute to this project (bug fixes, *_new features,
new modules, *documentation, translation, ...) do not hesitate to contact
me and I will give you the GIT repository access.

_- To support the development and volunteer help, make a donation _here
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XWLDYLFKCLEJQ
.

Best regards,

Pierre-Henry Soria

from ph7-social-dating-cms.

alvin101 avatar alvin101 commented on May 22, 2024

Thanks Pierre,

I looked it over and everything seems fine. However I do not know what [validate] does, does it look normal?

And about [cookie] I am in a subdomain but I do not see any path info. Does this part of the file look normal?

code starts here,
[validate]
phone.pattern = "(+|00)[0-9]{1,3}[0-9]{5,14}(x.+)?"

[video]
; Max video size. e.g.,15K, 100M, 4G
upload.max_size = 500M
; e.g., Unix: /usr/bin/ffmpeg Windows: C:\ffmpeg\ffmpeg.exe
handle.ffmpeg_path = "/usr/bin/ffmpeg"

[cookie]
; If you have multiple sites with this CMS on the same domain, the prefix is used to avoid the collision between the same cookie
prefix = "pH7c0ac0_"
; 31536000 seconds = 1 year
expiration = 31536000
path = "/"

; Cookie domain, for example 'yoursite.com'.
; To make cookies visible on all subdomains then the domain must be prefixed with a dot like '.yoursite.com'
domain = PH7_DOMAIN_COOKIE

from ph7-social-dating-cms.

 avatar commented on May 22, 2024

Hi, everything is normal in your config file.
I think, this is your problem ->
#19

from ph7-social-dating-cms.

Coaden avatar Coaden commented on May 22, 2024

I had the same problem. After debugging, I found that Kernal.class.php has a method called _CheckLicense() with the following code:

    final private function _checkLicense()
    {   
        $this->_checkInternetConnection(); // First we check the Internet connection

        $oLicense = new License;
        //define( 'PH7_SOFTWARE_STATUS', !$oLicense->isBanned() );
        //define( 'PH7_LICENSE_STATUS', $this->str->lower($oLicense->checkCopyright()['status']) );
        define( 'PH7_LICENSE_NO_COPYRIGHT', (PH7_LICENSE_STATUS == 'active') );
        unset($oLicense);

        if (!PH7_SOFTWARE_STATUS)
        {
            $sLicenseMsg = t('You need to buy a <strong>valid <a href="%0%">pH7CMS</a> License Key</strong> to use features requiring a license key!', self::SOFTWARE_WEBSITE);
            Page::message($sLicenseMsg);
        }
    }

However the License class does not have methodes for .isBanned() or .checkCopywrite(), so I crash here, and get the blank page with empty head and body.

I tried bypassing the function, but the Constants need to be set. So, temporarily, I did something like

        //define( 'PH7_SOFTWARE_STATUS', !$oLicense->isBanned() );
        define( 'PH7_SOFTWARE_STATUS', true );
        //define( 'PH7_LICENSE_STATUS', $this->str->lower($oLicense->checkCopyright()['status']) );
        define( 'PH7_LICENSE_STATUS', true );

Note: This is from the master branch on get hub. I don't know if the download from sourceforge has these problems.

I'm still don't have it working 100%, but close.

ADDED:
I just saw Pierre's post about removing the License file.

from ph7-social-dating-cms.

 avatar commented on May 22, 2024

Hey, no, don't comment these lines on Kernel.class.php
License class doesn't have isBanned method because you have got the code from GitHub and the License class on GitHub doesn't updated for a long time. Please always get the pH7CMS code from SourceForge. You can download it on the official website: http://software.hizup.com

GitHub is only for developers!

Thanks!

from ph7-social-dating-cms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.