Hello,
can someone tell me what the problem is and what i should do... i would like to install Dolphin 7.0.8 for creating a community web site. I have created the data base (mysql) without any table in it, i put the files online and when i want to open my ...install/index.php page in my browser, the following message is anounced :
Parse error: syntax error, unexpected '.' in /homepages/32/d243787152/htdocs/mysite/mysoubfolder/install/index.php on line 26
What i do not understand (in fact, i do not understand anything about php), it is that there is not even a '.' on the 26th line of my file.
If i understood well, the installation should help me to change the security attributs to mode777 or to other i have started to change them by myself in the hope that the problem comes from there (i put all in mode 777)... but it is horribly sh..ty because there are 8000 files to change...
I am blocked, i can not install Dolphin 7.0.8.. do you have some ideas ?
Thanks in advance and sorry for my English, it is not my mother tongue !
Igor
|
|
Well for one. Setting everything to 777 was a mistake. It will open a security hole on your site. So delete everything and re-upload it. Only certain folders and files are to be 777. Setting them all like that will create a major security problem on your site. The install script will tell you what needs to be changed. Getting it to run does not require they be set before you run the script. So start over.
Now as for your other problem. That most likley is due to the install script being corrupt. Make sure you use a decent FTP client when uploading and upload in binary mode.
You should also make sure the server is properly setup to run dolphin per the hosting requirements. http://www.boonex.com/trac/dolphin/wiki/DolTech
On a properly configured server and also assuming the files uploaded without damage then dolphin should install without problems. https://www.deanbassett.com |
Well for one. Setting everything to 777 was a mistake. It will open a security hole on your site. So delete everything and re-upload it. Only certain folders and files are to be 777. Setting them all like that will create a major security problem on your site. The install script will tell you what needs to be changed. Getting it to run does not require they be set before you run the script. So start over.
Now as for your other problem. That most likley is due to the install script being corrupt. Make sure you use a decent FTP client when uploading and upload in binary mode.
You should also make sure the server is properly setup to run dolphin per the hosting requirements. http://www.boonex.com/trac/dolphin/wiki/DolTech
On a properly configured server and also assuming the files uploaded without damage then dolphin should install without problems.
Thanks for your reply Deano !
Ok, i will re-load them again... i do not know what it means binary mode but i will look at it on internet.I upload the files with Dreamweaver. CS3 and it works very well with my other web-sites, i used it for installing WP for example...
You are right, i will not change the chmod to 777, anyway, i made a crazy work of two days...
I guess my host server is enough performant, i am hosted at 1&1, php5, mysql5 with a total capacity of 1024 Mb, i created a database (without making any table, i guess it is made by Dolphin system).
I come back to say if it worked or not. Thanks again !
|
1&1 hosting has known problems with dolphin. Godaddy does as well.
Both of those hosting companies normally require that the .htaccess file be modified.
This line
RewriteBase /
Needs to be added to the root .htaccess file included with dolphin. It is to be placed under the line
RewriteEngine on
That should be done before you begin the install process. Also skip the permission reversal at the end.
There may be other issues with 1&1 that i am unaware off.
https://www.deanbassett.com |
1&1 hosting has known problems with dolphin. Godaddy does as well.
Both of those hosting companies normally require that the .htaccess file be modified.
This line
RewriteBase /
Needs to be added to the root .htaccess file included with dolphin. It is to be placed under the line
RewriteEngine on
That should be done before you begin the install process. Also skip the permission reversal at the end.
There may be other issues with 1&1 that i am unaware off.
Hello,
so i deleted the files, i added the line to my .htaccess, i reloaded my files by totalcommander in binary mode... i went to my link http://www.mysite.com/subfolder/install/index.php and i get the same sentence :
Parse error: syntax error, unexpected '.' in /homepages/32/d243787152/htdocs/mysite/mysubfolder/install/index.php on line 26
At the Dolphin requirements, the following things are indicated :
register_globals must be Off safe_mode must be Off exec() (executable files) must be allowed short_open_tag must be On allow_url_fopen should be On allow_url_include should be Off open_basedir should not have any value
...but where can i find register_globals, safe_mode, etc. for checking them if they are off or on ?
Thanks & regards,
Igor
|
You should also make sure the server is properly setup to run dolphin per the hosting requirements. http://www.boonex.com/trac/dolphin/wiki/DolTech
In the meantime i uploaded a phpinfo.php file where you can see my php configuration, maybe it helps you to tell me if there is an error with my config... (i do not know php system really)... : http://www.vihegay.com/vihelive/phpinfo.php
|
You should also make sure the server is properly setup to run dolphin per the hosting requirements. http://www.boonex.com/trac/dolphin/wiki/DolTech
On a properly configured server and also assuming the files uploaded without damage then dolphin should install without problems.
I found errors in my php info :
allow_url_fopen should be On - in my info, it is Off,
magic_quotes_gpc option must be disabled for Dolphin 7 - the info shows that it is ON,
exec() (executable files) must be allowed - i did not find this info.
How can i change them, where ?
|
Ahhh... i have deleted all my files, i downloaded the zip again, i put all on line anew and here we are, it works...
If someone will have the same problem :
- the installation files can be corrupted/damaged, must be re-downloaded from the web site.
- if you are hosted at 1&1, they have a known problem : the .htaccess file of the racine must be changed, you should add the line "RewriteBase /" just under the line "RewriteEngine on".
- if you work with Dreamweaver, change it to another program which let you transfer the documents in binary mode. I used Total Commander, it is free for one month...
Now i have another difficulty, i will write another topic : at the installation, at the permissions, i see that the flash file flash/modules/global/app/ffmpeg.exe is non-executable, i do not know what to do...
Talk to you soon !
|