PDA

View Full Version : Installed but no license prompt


jpkelly
10-28-2006, 11:26 AM
I've been working on a Web site locally for a while with a licensed copy. Now that I'm planning on going live, I downloaded the latest self-install Win/Zend package for PHP 4 and installed in the root of the Web site. There were no errors posted.

On the first Setup screen I created an Admin id and password. The next step brought me to the Setup login screen although it showed me logged in. I logged in again and nothing changed, it just shows me the Admin login screen. At no time was I prompted for any license info.

I checked the file permisions (646) and they were fine. So, I deleted the installation on the Web and reinstalled it with the same results. No errors were reported for either installation.

The license.php file shows 0 bytes.

In checking the error logs on the server, a number of errors were logged, I've removed duplicate lines (below). One error indicating a file missing in the theme folder showed the theme folder in the setup folder but the theme folder is not in the setup folder, it's in the calendar folder.

I have some screen shots of the 2nd installation/setup if you need them.

Jim

2nd installation:
[Sat Oct 28 07:37:49 2006] [error] [client 12.34.56.78] File does not exist: /home/websites/public_html/domain/calendar/setup/theme/default/esstyle.css
[Sat Oct 28 07:36:27 2006] [error] [client 12.34.56.78] File does not exist: /home/websites/public_html/domain/IONCUBE_INSTALLER_URLTEST

1st installation:
[Sat Oct 28 07:27:11 2006] [error] [client 12.34.56.78] File does not exist: /home/websites/public_html/domain/calendar/setup/theme/default/esstyle.css
[Sat Oct 28 07:21:56 2006] [error] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'license.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/websites/public_html/domain/calendar/events/index.php on line 25
[Sat Oct 28 07:21:56 2006] [error] PHP Warning: main(license.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /home/websites/public_html/domain/calendar/events/index.php on line 25
[Sat Oct 28 07:20:59 2006] [error] [client 12.34.56.78] File does not exist: /home/websites/public_html/domain/calendar/setup/theme/default/esstyle.css
[Sat Oct 28 07:20:42 2006] [error] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'license.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/websites/public_html/domain/calendar/events/index.php on line 25
[Sat Oct 28 07:20:42 2006] [error] PHP Warning: main(license.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /home/websites/public_html/domain/calendar/events/index.php on line 25
[Sat Oct 28 07:20:10 2006] [error] [client 12.34.56.78] File does not exist: /home/websites/public_html/domain/calendar/setup/theme/default/esstyle.css
[Sat Oct 28 07:19:48 2006] [error] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'license.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/websites/public_html/domain/calendar/events/index.php on line 25
[Sat Oct 28 07:19:48 2006] [error] PHP Warning: main(license.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /home/websites/public_html/domain/calendar/events/index.php on line 25
[Sat Oct 28 07:18:07 2006] [error] [client 12.34.56.78] File does not exist: /home/websites/public_html/domain/calendar/setup/theme/default/esstyle.css
[Sat Oct 28 07:16:03 2006] [error] [client 12.34.56.78] File does not exist: /home/websites/public_html/domain/IONCUBE_INSTALLER_URLTEST

Brian
10-28-2006, 01:28 PM
If the license.php file is 0 bytes, there were some problems uploading the files. You may want to manually FTP the files to the server.

If you'd like I can do this for you if you'll open a support ticket with your server information.

jpkelly
10-28-2006, 02:22 PM
Thanks for the quick reply Brian. The 0 bytes notation was misleading on the license.php file, the basic license text was in the file, sorry for the confusion. Based on your offer, I downloaded the Zip version and FTP'd all in binary mode to the server, no change.

Additional info: once logged in with the Admin ID, only the Event Manager and Log Out Icons are visible. If I select the Event Manager I receive the errors noted below.

I noted the session.Save_Path on the server was /tmp so modified the sessionPath.php file to reflect this also.

Jim

Warning: main(license.php) [function.main]: failed to open stream: No such file or directory in /home/websites/public_html/domain/calendar/events/index.php on line 25

Warning: main(license.php) [function.main]: failed to open stream: No such file or directory in /home/websites/public_html/domain/calendar/events/index.php on line 25

Warning: main(license.php) [function.main]: failed to open stream: No such file or directory in /home/websites/public_html/domain/calendar/events/index.php on line 25

Fatal error: main() [function.require]: Failed opening required 'license.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/websites/public_html/domain/calendar/events/index.php on line 25

jpkelly
10-28-2006, 02:48 PM
Brian, I found the problem.

The FTP account I was using was for the Domain itself, not my master account (I can setup unlimited Domains off my master account). I created another FTP account with root access to the master account, FTP'd all in binary mode, reset the permissions for the 3 files in the calendar folder and was able to get logged in properly.

I'm not sure why the Domain's FTP account wasn't working properly but it must be the way the server permissions are configured.

Thanks again for your assistance.

Jim