Announcement

#1 2012-05-02 22:45:48

Tadjio
Member
UK
2012-05-02
432

[resolved] PHP and mySQL

I am completely new to Piwigo but looking forward to using it and migrating from fotopic and Pikfu.
Today I have put the Piwigo installation files on my Eclipse ISP server using ftp and was able to launch install.php in Internet Explorer.
I had one early problem changing the Permissions and Owner/Group for _data but fixed this.
It wrote several files onto my server but then stopped with a blank screen in Internet Explorer.
Is this because I need mySQL implemented on my domain?
Does the mySQL Database have any special name?

Thanks

Tadjio


Tadjio

Offline

 

#2 2012-05-03 08:45:32

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: [resolved] PHP and mySQL

Hi Tadjio,

I confirm you need MySQL. Your MySQL database doesn't need a specific name.

Offline

 

#3 2012-05-03 11:13:23

Tadjio
Member
UK
2012-05-02
432

Re: [resolved] PHP and mySQL

Thanks for your reply.  I have asked my ISP Eclipse to add the mySQL database.
How do I restart the process?  Do I go to .xxx.com/piwigo or .xxx.com/piwigo/install.php or some other .php?


Tadjio

Offline

 

#4 2012-05-03 16:09:03

Tadjio
Member
UK
2012-05-02
432

Re: [resolved] PHP and mySQL

I now have mySQL and I still get a blank screen in Internet Explorer when I try to use install.php

Can anyone help me get past this please?


Tadjio

Offline

 

#5 2012-05-03 16:14:34

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: [resolved] PHP and mySQL

Copy of my reply by email (but it's better to use the forum):

plg by email wrote:

Hi,

2.4.0RC3 is not OK. It is a "test only" version. Use 2.3.4 instead.

The blank screen makes me think about a PHP 5 issue. I need to see the error log to be sure.

Bye

Offline

 

#6 2012-05-03 16:47:08

Tadjio
Member
UK
2012-05-02
432

Re: [resolved] PHP and mySQL

I have started again with piwigo-netinstaller and after the first screen it stops with error HTTP 500.

It has put pwg_files.php, pwg_unzip.php and piwigo-install.zip in my root directory.


Tadjio

Offline

 

#7 2012-05-03 23:23:10

Tadjio
Member
UK
2012-05-02
432

Re: [resolved] PHP and mySQL

It seems I have a file permissions / access problem.
Each time a new directory is created the process stops with HTTP 500 until I change the permissions, then it happens with the next directory.
Back to the drawing board...


Tadjio

Offline

 

#8 2012-05-04 01:31:39

Tadjio
Member
UK
2012-05-02
432

Re: [resolved] PHP and mySQL

Having changed all the directory attributes / file permissions to 777 I ran install.php and got a blank screen again!

I then copied all the files back to my PC, reset the read-only attribute and recopied via filezilla.

The mySQL stage then worked and I can access Piwigo!

However, although I can create an album, I cannot upload photos.
With the browser method, I get this error:
[prepare_directory] cannot create directory "././upload/2012/05/04"

It seems that I still have attribute / permission problems.  Help SVP!
I think I'll sleep on that.

Last edited by Tadjio (2012-05-04 02:26:54)


Tadjio

Offline

 

#9 2012-05-05 21:28:21

Tadjio
Member
UK
2012-05-02
432

Re: [resolved] PHP and mySQL

I have now managed to upload my photos (well, a small sample) and got on with playing with piwigo.
It seems that •PHP: 5.2.9 in Safe Mode with •mysql: 5.0.77 is somewhat primitive and casued me 3 days of aggro.

Does anyone use piwigo with PHP in Safe Mode?


Tadjio

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact